[oe-commits] Ross Burton : packagegroup-core-tools-profile: add systemd-analyze

git at git.openembedded.org git at git.openembedded.org
Thu Nov 21 16:32:10 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: 20d2fad0d08eb337fdc80385bce32469a97e988a
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=20d2fad0d08eb337fdc80385bce32469a97e988a

Author: Ross Burton <ross.burton at intel.com>
Date:   Thu Nov 21 15:21:39 2013 +0000

packagegroup-core-tools-profile: add systemd-analyze

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>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 = "\



More information about the Openembedded-commits mailing list