Add blktrace package
cover Add blktrace package
Add blktrace, one of the tracing/profiling tools mentioned in the Yocto v1.0 tracing/profiling tools list posted here:
https://lists.yoctoproject.org/pipermail/yocto/2010-November/000281.html
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: tzanussi/traceprof
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=tzanussi/traceprof
Thanks,
Tom Zanussi <[email protected]>
---
Tom Zanussi (1):
blktrace: new package
.../conf/distro/include/poky-default-revisions.inc | 1 + meta/recipes-core/tasks/task-poky-tools.bb | 3 +- .../blktrace/blktrace/blktrace-makefile.patch | 53 ++++++++++++++++++++ meta/recipes-kernel/blktrace/blktrace_git.bb | 22 ++++++++ 4 files changed, 78 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch create mode 100644 meta/recipes-kernel/blktrace/blktrace_git.bb
PATCH 1/1 blktrace: new package
Add blktrace, a tool for generating traces of the I/O traffic on block devices.
--- .../conf/distro/include/poky-default-revisions.inc | 1 + meta/recipes-core/tasks/task-poky-tools.bb | 3 +- .../blktrace/blktrace/blktrace-makefile.patch | 53 ++++++++++++++++++++ meta/recipes-kernel/blktrace/blktrace_git.bb | 22 ++++++++ 4 files changed, 78 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch create mode 100644 meta/recipes-kernel/blktrace/blktrace_git.bb
meta/conf/distro/include/poky-default-revisions.inc +1 -0
@@ -177,4 +177,5 @@ SRCDATE_yaffs2-utils-native ??= "20071107" SRCDATE_yaffs2-utils ??= "20071107" SRCREV_pn-zaurusd ??= "358" SRCREV_pn-zypper ??= "9eb0e248e06c8d20ad054be2439149d9ede37531" +SRCREV_pn-blktrace ??= "1e09f6e9012826fca69fa07222b7bc53c3e629ee"
meta/recipes-core/tasks/task-poky-tools.bb +2 -1
@@ -46,7 +46,8 @@ RDEPENDS_task-poky-tools-profile = "\ RRECOMMENDS_task-poky-tools-profile = "\ perf \ trace-cmd \ - kernel-module-oprofile" + kernel-module-oprofile \ + blktrace" # exmap-console # exmap-server
meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch new file +53 -0
53 lines not on this page · raw message
meta/recipes-kernel/blktrace/blktrace_git.bb new file +22 -0
@@ -0,0 +1,22 @@ +DESCRIPTION = "blktrace - generate traces of the I/O traffic on block devices" +LICENSE = "GPL" +LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" + +DEPENDS = "libaio" + +PR = r1 +PV = "1.0.1+git${SRCPV}" + +SRC_URI = "git://git.kernel.dk/blktrace.git;protocol=git \ + file://blktrace-makefile.patch" + +S = "${WORKDIR}/git" + +do_compile() { + oe_runmake ARCH="${ARCH}" CC="${CC}" LD="${LD}" prefix=${prefix} +} + +do_install() { + oe_runmake ARCH="${ARCH}" CC="${CC}" LD="${LD}" \ + prefix=${prefix} DESTDIR=${D} install +}
Signature · 1 line
1.7.0.4
Quoted 17 lines · Tom Zanussi
Add blktrace, one of the tracing/profiling tools mentioned in the Yocto v1.0 tracing/profiling tools list posted here:
https://lists.yoctoproject.org/pipermail/yocto/2010-November/000281.html
Pull URL:
git://git.pokylinux.org/poky-contrib.git
Branch: tzanussi/traceprof
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=tzanussi/traceprofThanks,
Tom Zanussi<[email protected]>
---Tom Zanussi (1):
blktrace: new package
Quoted 8 lines
.../conf/distro/include/poky-default-revisions.inc | 1 + meta/recipes-core/tasks/task-poky-tools.bb | 3 +- .../blktrace/blktrace/blktrace-makefile.patch | 53 ++++++++++++++++++++ meta/recipes-kernel/blktrace/blktrace_git.bb | 22 ++++++++ 4 files changed, 78 insertions(+), 1 deletions(-)create mode 100644
meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patchcreate mode 100644 meta/recipes-kernel/blktrace/blktrace_git.bb
Tom,
A very quick review shows that the LICENSE metadata is too GENERIC, should specify the version also.
Additionally, you do not have any SCR_URI[md5] or SRC_URI[sha256] metadata which is now required. These are new requirements for 1.0.
Sau!
Quoted 5 lines
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky