summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-11-21 15:21:39 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-21 16:30:35 +0000
commit20d2fad0d08eb337fdc80385bce32469a97e988a (patch)
treea2e2585853934ca0d6fd55fade47ea3527d0fdc9 /meta
parent80ef721140c79e29430d0a5692a5c176db0061e6 (diff)
downloadopenembedded-core-20d2fad0d08eb337fdc80385bce32469a97e988a.tar.gz
openembedded-core-20d2fad0d08eb337fdc80385bce32469a97e988a.tar.bz2
openembedded-core-20d2fad0d08eb337fdc80385bce32469a97e988a.zip
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@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
index 9eb1458baa..4a97c24908 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 = "\