mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
perf: enable support for libaudit
perf needs audit-python to be able to show syscall names and for 'perf trace' to work. Enable dependency on audit-python if present in PACKAGECONFIG. It's disabled by default since audit as of now is in meta-selinux. Fixes [YOCTO #3343] Fixes [YOCTO #3358] (From OE-Core rev: c386abacae89a148e77ffa51630c7917e90406f9) (From OE-Core rev: 5b7550a62fa0fa7892c28ae920ee243c223bf3c2) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b33d89d5ea
commit
8b2dbbddc4
@@ -22,6 +22,9 @@ PACKAGECONFIG[libnuma] = ",NO_LIBNUMA=1"
|
||||
PACKAGECONFIG[systemtap] = ",NO_SDT=1,systemtap"
|
||||
PACKAGECONFIG[jvmti] = ",NO_JVMTI=1"
|
||||
|
||||
# libaudit support would need scripting to be enabled
|
||||
PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit"
|
||||
|
||||
DEPENDS = " \
|
||||
virtual/${MLPREFIX}libc \
|
||||
${MLPREFIX}elfutils \
|
||||
@@ -214,7 +217,7 @@ PACKAGES =+ "${PN}-archive ${PN}-tests ${PN}-perl ${PN}-python"
|
||||
RDEPENDS_${PN} += "elfutils bash"
|
||||
RDEPENDS_${PN}-doc += "man"
|
||||
RDEPENDS_${PN}-archive =+ "bash"
|
||||
RDEPENDS_${PN}-python =+ "bash python python-modules"
|
||||
RDEPENDS_${PN}-python =+ "bash python python-modules ${@bb.utils.contains('PACKAGECONFIG', 'audit', 'audit-python', '', d)}"
|
||||
RDEPENDS_${PN}-perl =+ "bash perl perl-modules"
|
||||
RDEPENDS_${PN}-tests =+ "python"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user