[oe] [meta-oe][PATCH v3] Add analyze-suspend

Khem Raj raj.khem at gmail.com
Fri Aug 28 21:24:59 UTC 2015


> On Aug 28, 2015, at 2:03 PM, Soren Brinkmann <soren.brinkmann at xilinx.com> wrote:
> 
> Signed-off-by: Soren Brinkmann <soren.brinkmann at xilinx.com>
> ---
> v3:
> - define PV = "3.2+gitr${SRCPV}"
> - simplify do_install function
> - add DESCRIPTION
> - fix README file perms
> v2:
> - replace 'boot'->'suspend' in commit message
> - document kernel dependencies in recipe
> - pin git commit

this is fine

> ---
> .../analyze-suspend/analyze-suspend_git.bb         | 29 ++++++++++++++++++++++
> 1 file changed, 29 insertions(+)
> create mode 100644 meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb
> 
> 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 000000000000..d97ff0a5bdd2
> --- /dev/null
> +++ b/meta-oe/recipes-benchmark/analyze-suspend/analyze-suspend_git.bb
> @@ -0,0 +1,29 @@
> +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"
> +
> +PV = "3.2+gitr${SRCPV}"
> +SRCREV = "bce3cbec43bc2ce7a8c79b210314dd9d9ac1010b"
> +SRC_URI = "git://github.com/01org/suspendresume.git;protocol=https"
> +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"
> --
> 2.5.0.3.g52d66ab
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20150828/3e5ad93a/attachment-0002.sig>


More information about the Openembedded-devel mailing list