mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
pm-graph: Provide analyze-suspend as well
Remove stale analyze-suspend recipe Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,29 +0,0 @@
|
|||||||
SUMMARY = "Analyze Suspend"
|
|
||||||
DESCRIPTION = "analyze-suspend is a tool for system developers to visualize \
|
|
||||||
the activity between suspend and resume, allowing them to identify \
|
|
||||||
inefficiencies and bottlenecks."
|
|
||||||
HOMEPAGE = "https://01.org/suspendresume"
|
|
||||||
LICENSE = "GPLv2"
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
|
|
||||||
|
|
||||||
# Apart from the listed RDEPENDS, analyze-suspend depends on some features
|
|
||||||
# provided by the kernel. These options are:
|
|
||||||
# - CONFIG_PM_DEBUG=y
|
|
||||||
# - CONFIG_PM_SLEEP_DEBUG=y
|
|
||||||
# - CONFIG_FTRACE=y
|
|
||||||
# - CONFIG_FUNCTION_TRACER=y
|
|
||||||
# - CONFIG_FUNCTION_GRAPH_TRACER=y
|
|
||||||
|
|
||||||
RDEPENDS_${PN} += "python-core python-datetime python-stringold"
|
|
||||||
|
|
||||||
SRC_URI = "git://github.com/01org/suspendresume.git;protocol=https"
|
|
||||||
SRCREV = "cf59527dc24fdd2f314ae4dcaeb3d68a117988f6"
|
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
install -Dm 0755 analyze_suspend.py ${D}${bindir}/analyze_suspend.py
|
|
||||||
install -Dm 0644 README ${D}${docdir}/analyze-suspend/README
|
|
||||||
}
|
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
|
||||||
@@ -46,7 +46,7 @@ RDEPENDS_packagegroup-meta-oe = "\
|
|||||||
"
|
"
|
||||||
|
|
||||||
RDEPENDS_packagegroup-meta-oe-benchmarks = "\
|
RDEPENDS_packagegroup-meta-oe-benchmarks = "\
|
||||||
analyze-suspend dhrystone iperf2 linpack phoronix-test-suite \
|
dhrystone iperf2 linpack phoronix-test-suite \
|
||||||
tiobench bonnie++ fio iperf2 iperf3 lmbench s-suite whetstone \
|
tiobench bonnie++ fio iperf2 iperf3 lmbench s-suite whetstone \
|
||||||
libc-bench memtester sysbench dbench iozone3 libhugetlbfs \
|
libc-bench memtester sysbench dbench iozone3 libhugetlbfs \
|
||||||
nbench-byte tinymembench \
|
nbench-byte tinymembench \
|
||||||
@@ -196,6 +196,9 @@ RDEPENDS_packagegroup-meta-oe-kernel ="\
|
|||||||
agent-proxy broadcom-bt-firmware cpupower \
|
agent-proxy broadcom-bt-firmware cpupower \
|
||||||
crash ipmitool minicoredumper oprofile \
|
crash ipmitool minicoredumper oprofile \
|
||||||
"
|
"
|
||||||
|
RDEPENDS_packagegroup-meta-oe-kernel_append_x86 = " pm-graph "
|
||||||
|
RDEPENDS_packagegroup-meta-oe-kernel_append_x86-64 = " pm-graph "
|
||||||
|
|
||||||
RDEPENDS_packagegroup-meta-oe-kernel_remove_libc-musl = "crash minicoredumper"
|
RDEPENDS_packagegroup-meta-oe-kernel_remove_libc-musl = "crash minicoredumper"
|
||||||
|
|
||||||
RDEPENDS_packagegroup-meta-oe-kernel_remove_mips64 = "crash"
|
RDEPENDS_packagegroup-meta-oe-kernel_remove_mips64 = "crash"
|
||||||
|
|||||||
@@ -12,11 +12,22 @@ SRC_URI = "git://github.com/intel/pm-graph.git \
|
|||||||
"
|
"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
# Apart from the listed RDEPENDS, analyze-suspend depends on some features
|
||||||
|
# provided by the kernel. These options are:
|
||||||
|
# - CONFIG_PM_DEBUG=y
|
||||||
|
# - CONFIG_PM_SLEEP_DEBUG=y
|
||||||
|
# - CONFIG_FTRACE=y
|
||||||
|
# - CONFIG_FUNCTION_TRACER=y
|
||||||
|
# - CONFIG_FUNCTION_GRAPH_TRACER=y
|
||||||
|
|
||||||
COMPATIBLE_HOST='(i.86|x86_64).*'
|
COMPATIBLE_HOST='(i.86|x86_64).*'
|
||||||
EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D} BASELIB=${baselib}"
|
EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D} BASELIB=${baselib}"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
oe_runmake install
|
oe_runmake install
|
||||||
|
install -Dm 0755 ${S}/analyze_suspend.py ${D}${bindir}/analyze_suspend.py
|
||||||
}
|
}
|
||||||
|
|
||||||
RDEPENDS_${PN} += "python3-core python3-threading python3-datetime python3-compression"
|
RDEPENDS_${PN} += "python3-core python3-threading python3-datetime python3-compression"
|
||||||
|
RPROVIDES_${PN} = "analyze-suspend"
|
||||||
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|||||||
Reference in New Issue
Block a user