[OE-core] [PATCH] packagegroup-core-tools-profile: add systemd-analyze

Ross Burton ross.burton at intel.com
Thu Nov 21 15:21:39 UTC 2013


If the systemd DISTRO_FEATURE is enabled, then recommend systemd-analyze for
profiling boot performance.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
index 9eb1458..4a97c24 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
@@ -17,6 +17,7 @@ RREPLACES_${PN} = "task-core-tools-profile"
 RCONFLICTS_${PN} = "task-core-tools-profile"
 
 PROFILE_TOOLS_X = "${@base_contains('DISTRO_FEATURES', 'x11', 'sysprof', '', d)}"
+PROFILE_TOOLS_SYSTEMD = "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd-analyze', '', d)}"
 
 RRECOMMENDS_${PN} = "\
     perf \
@@ -24,6 +25,7 @@ RRECOMMENDS_${PN} = "\
     kernel-module-oprofile \
     blktrace \
     ${PROFILE_TOOLS_X} \
+    ${PROFILE_TOOLS_SYSTEMD} \
     "
 
 PROFILETOOLS = "\
-- 
1.7.10.4




More information about the Openembedded-core mailing list