I think this problem should be because the kernel does not enable CONFIG_SECURITY_LOCKDOWN_LSM,

do you need me to submit a patch to open this option of the kernel?

 

Zangrc

 

From: Zang, Ruochen/ 若尘
Sent: Thursday, November 26, 2020 2:18 PM
To: 'Leonardo Sandoval' <leonardo.sandoval@linaro.org>
Cc: openembedded-core@lists.openembedded.org
Subject: RE: [PATCH] [OE-core] [PATCHv2] systemtap: upgrade 4.3 -> 4.4

 

I will investigate, it may take some time, if the error is resolved, I will send a patch to the mailing list.

 

zangrc

 

From: Leonardo Sandoval <leonardo.sandoval@linaro.org>
Sent: Thursday, November 26, 2020 6:09 AM
To: Zang, Ruochen/
若尘 <zangrc.fnst@cn.fujitsu.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] [OE-core] [PATCHv2] systemtap: upgrade 4.3 -> 4.4

 

Hi Zangrc,

 

this patch is now in master-next

 

 

but autobuilder detected a compilation error in the upgraded version

 

 

Can you please take a look? (seems like a C macro is not defined).

 

Thanks,

 

lsg

 

 

 

 

On Mon, 23 Nov 2020 at 20:08, zangrc <zangrc.fnst@cn.fujitsu.com> wrote:

The test log of oe-selftest is as follows:
2020-11-23 15:48:49,144 - oe-selftest - INFO - test_crosstap_helloworld (runtime_test.SystemTap)
2020-11-23 17:06:55,949 - oe-selftest - INFO -  ... ok
2020-11-23 17:06:55,951 - oe-selftest - INFO - test_crosstap_pstree (runtime_test.SystemTap)
2020-11-23 17:08:07,921 - oe-selftest - INFO -  ... ok
2020-11-23 17:08:07,922 - oe-selftest - INFO - test_crosstap_syscalls_by_pid (runtime_test.SystemTap)
2020-11-23 17:09:20,084 - oe-selftest - INFO -  ... ok
2020-11-23 17:09:20,085 - oe-selftest - INFO - test_crosstap_syscalls_by_proc (runtime_test.SystemTap)
2020-11-23 17:10:31,349 - oe-selftest - INFO -  ... ok
2020-11-23 17:12:58,052 - oe-selftest - INFO - ----------------------------------------------------------------------
2020-11-23 17:12:58,054 - oe-selftest - INFO - Ran 4 tests in 5051.537s
2020-11-23 17:12:58,054 - oe-selftest - INFO - OK
2020-11-23 17:13:08,416 - oe-selftest - INFO - RESULTS:
2020-11-23 17:13:08,417 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_helloworld: PASSED (4686.81s)
2020-11-23 17:13:08,418 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_pstree: PASSED (71.97s)
2020-11-23 17:13:08,418 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_syscalls_by_pid: PASSED (72.16s)
2020-11-23 17:13:08,418 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_syscalls_by_proc: PASSED (71.26s)
2020-11-23 17:13:08,432 - oe-selftest - INFO - SUMMARY:
2020-11-23 17:13:08,432 - oe-selftest - INFO - oe-selftest () - Ran 4 tests in 5051.540s
2020-11-23 17:13:08,432 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=4, skipped=0, failures=0, errors=0)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 meta/recipes-kernel/systemtap/systemtap_git.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-kernel/systemtap/systemtap_git.inc b/meta/recipes-kernel/systemtap/systemtap_git.inc
index 56fa51d61e..ae735025b7 100644
--- a/meta/recipes-kernel/systemtap/systemtap_git.inc
+++ b/meta/recipes-kernel/systemtap/systemtap_git.inc
@@ -1,7 +1,7 @@
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
-SRCREV = "82b8e1a07a31bf37ed05d6ebc5162b054c0be9fd"
-PV = "4.3"
+SRCREV = "988f439af39a359b4387963ca4633649866d8275"
+PV = "4.4"

 SRC_URI = "git://sourceware.org/git/systemtap.git \
            file://0001-Do-not-let-configure-write-a-python-location-into-th.patch \
--
2.25.1