[oe] [meta-oe][PATCH 2/4] pm-graph: Renamed from analyze-suspend

Khem Raj raj.khem at gmail.com
Wed Feb 19 00:50:56 UTC 2020


Moved to tip to get py3 support
Point SRC_URI to new location
Adjust for name changes

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../pm-graph_5.5.bb}                                 | 12 ++++++++----
 .../packagegroups/packagegroup-meta-oe.bb            |  2 +-
 2 files changed, 9 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-benchmark/{analyze-suspend/analyze-suspend_5.5.bb => pm-graph/pm-graph_5.5.bb} (74%)

diff --git a/meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_5.5.bb b/meta-oe/recipes-benchmark/pm-graph/pm-graph_5.5.bb
similarity index 74%
rename from meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_5.5.bb
rename to meta-oe/recipes-benchmark/pm-graph/pm-graph_5.5.bb
index bb0aad3413..4f6f3bd40c 100644
--- a/meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_5.5.bb
+++ b/meta-oe/recipes-benchmark/pm-graph/pm-graph_5.5.bb
@@ -1,4 +1,4 @@
-SUMMARY = "Analyze Suspend"
+SUMMARY = "Analyze Suspend/Resume"
 DESCRIPTION = "analyze-suspend is a tool for system developers to visualize \
 the activity between suspend and resume, allowing them to identify \
 inefficiencies and bottlenecks."
@@ -14,10 +14,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
 #   - CONFIG_FUNCTION_TRACER=y
 #   - CONFIG_FUNCTION_GRAPH_TRACER=y
 
-RDEPENDS_${PN} += "python-core python-datetime python-stringold"
+RDEPENDS_${PN} += "python3-core python3-datetime python3-stringold"
 
-SRC_URI = "git://github.com/01org/suspendresume.git;protocol=https"
-SRCREV = "cf59527dc24fdd2f314ae4dcaeb3d68a117988f6"
+PV .= "+git${SRCPV}"
+SRC_URI = "git://github.com/intel/pm-graph;protocol=https"
+SRCREV = "3a8cd2fa9aee3afbc7f7e844885ffdcfaf5a1097"
 
 S = "${WORKDIR}/git"
 
@@ -27,3 +28,6 @@ do_install() {
 }
 
 BBCLASSEXTEND = "native"
+
+RPROVIDES_${PN} = "analyze-suspend"
+
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index bad4aa769e..3933619add 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -46,7 +46,7 @@ RDEPENDS_packagegroup-meta-oe = "\
 "
 
 RDEPENDS_packagegroup-meta-oe-benchmarks = "\
-    analyze-suspend dhrystone iperf2 linpack phoronix-test-suite \
+    pm-graph dhrystone iperf2 linpack phoronix-test-suite \
     tiobench bonnie++ fio iperf2 iperf3 lmbench s-suite whetstone \
     libc-bench memtester sysbench dbench iozone3 libhugetlbfs \
     nbench-byte tinymembench \
-- 
2.25.1



More information about the Openembedded-devel mailing list