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

login
register
mail settings
Submitter Ross Burton
Date Nov. 21, 2013, 3:21 p.m.
Message ID <1385047299-2597-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/62161/
State Accepted
Commit 0d39f3364a1cfb91f8794740ad1b68a9a52e191f
Headers show

Comments

Ross Burton - Nov. 21, 2013, 3:21 p.m.
If the systemd DISTRO_FEATURE is enabled, then recommend systemd-analyze for
profiling boot performance.

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

Patch

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