summaryrefslogtreecommitdiffstats
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-22 12:03:02 +0000
commit0d39f3364a1cfb91f8794740ad1b68a9a52e191f (patch)
treed249ccbd0c9fe765facc5cb9f87f72877776c678
parentafe82ef3c45362a6c9eca168b458a58db331617c (diff)
downloadpoky-0d39f3364a1cfb91f8794740ad1b68a9a52e191f.tar.gz
packagegroup-core-tools-profile: add systemd-analyze
If the systemd DISTRO_FEATURE is enabled, then recommend systemd-analyze for profiling boot performance. (From OE-Core rev: 20d2fad0d08eb337fdc80385bce32469a97e988a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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"
17RCONFLICTS_${PN} = "task-core-tools-profile" 17RCONFLICTS_${PN} = "task-core-tools-profile"
18 18
19PROFILE_TOOLS_X = "${@base_contains('DISTRO_FEATURES', 'x11', 'sysprof', '', d)}" 19PROFILE_TOOLS_X = "${@base_contains('DISTRO_FEATURES', 'x11', 'sysprof', '', d)}"
20PROFILE_TOOLS_SYSTEMD = "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd-analyze', '', d)}"
20 21
21RRECOMMENDS_${PN} = "\ 22RRECOMMENDS_${PN} = "\
22 perf \ 23 perf \
@@ -24,6 +25,7 @@ RRECOMMENDS_${PN} = "\
24 kernel-module-oprofile \ 25 kernel-module-oprofile \
25 blktrace \ 26 blktrace \
26 ${PROFILE_TOOLS_X} \ 27 ${PROFILE_TOOLS_X} \
28 ${PROFILE_TOOLS_SYSTEMD} \
27 " 29 "
28 30
29PROFILETOOLS = "\ 31PROFILETOOLS = "\