summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSoren Brinkmann <soren.brinkmann@xilinx.com>2015-08-28 14:03:39 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2015-09-08 16:18:34 +0200
commitb996aaab173126c9266fe35ac7fc1caab8bb20c4 (patch)
tree3d7d8f5f616b9a49904a17060cddd0e20d69c1d2
parent26ea5cbea7aeff877a2ea45d0723e77df8e69b84 (diff)
downloadmeta-openembedded-b996aaab173126c9266fe35ac7fc1caab8bb20c4.tar.gz
Add analyze-suspend
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb b/meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb
new file mode 100644
index 000000000..d97ff0a5b
--- /dev/null
+++ b/meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb
@@ -0,0 +1,29 @@
1SUMMARY = "Analyze Suspend"
2DESCRIPTION = "analyze-suspend is a tool for system developers to visualize \
3the activity between suspend and resume, allowing them to identify \
4inefficiencies and bottlenecks."
5HOMEPAGE = "https://01.org/suspendresume"
6LICENSE = "GPLv2"
7LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
8
9# Apart from the listed RDEPENDS, analyze-suspend depends on some features
10# provided by the kernel. These options are:
11# - CONFIG_PM_DEBUG=y
12# - CONFIG_PM_SLEEP_DEBUG=y
13# - CONFIG_FTRACE=y
14# - CONFIG_FUNCTION_TRACER=y
15# - CONFIG_FUNCTION_GRAPH_TRACER=y
16
17RDEPENDS_${PN} += "python-core python-datetime python-stringold"
18
19PV = "3.2+gitr${SRCPV}"
20SRCREV = "bce3cbec43bc2ce7a8c79b210314dd9d9ac1010b"
21SRC_URI = "git://github.com/01org/suspendresume.git;protocol=https"
22S = "${WORKDIR}/git"
23
24do_install() {
25 install -Dm 0755 analyze_suspend.py ${D}${bindir}/analyze_suspend.py
26 install -Dm 0644 README ${D}${docdir}/analyze-suspend/README
27}
28
29BBCLASSEXTEND = "native"