[poky] [PATCH 3/3] kernelshark: add ftrace gui viewer

Darren Hart dvhart at linux.intel.com
Fri Dec 31 10:39:34 PST 2010


On 12/31/2010 12:01 AM, Saul Wold wrote:
> On 12/28/2010 05:10 PM, Darren Hart wrote:
>> The trace-cmd source includes a graphical trace viewer, but we
>> don't want to make the trace-cmd recipe depend on gtk+. This
>> patch adds a second recipe in the meta/recipes-kernel/trace-cmd
>> directory which uses the trace-cmd SRCREV and RDEPENDS on trace-cmd
>> to ensure compatibility.
>>
>> Signed-off-by: Darren Hart<dvhart at linux.intel.com>
>> CC: Tom Zanussi<tom.zanussi at intel.com>
>> ---
>> meta/recipes-kernel/trace-cmd/kernelshark_git.bb | 21
>> +++++++++++++++++++++
>> 1 files changed, 21 insertions(+), 0 deletions(-)
>> create mode 100644 meta/recipes-kernel/trace-cmd/kernelshark_git.bb
>>
>> diff --git a/meta/recipes-kernel/trace-cmd/kernelshark_git.bb
>> b/meta/recipes-kernel/trace-cmd/kernelshark_git.bb
>> new file mode 100644
>> index 0000000..d2913c9
>> --- /dev/null
>> +++ b/meta/recipes-kernel/trace-cmd/kernelshark_git.bb
>> @@ -0,0 +1,21 @@
>> +DESCRIPTION = "Graphical trace viewer for Ftrace"
>> +LICENSE = "GPL"
> Can you be more specific to the version of GPL?

Right, will fix and resend - for both ftrace and kernelshark.

>
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
>> +
>> +PR = r0
>> +PV = "1.0.4+git${SRCPV}"
>> +
>> +DEPENDS = "gtk+"
>> +RDEPENDS = "trace-cmd"
>> +
>> +inherit pkgconfig
>> +
>> +SRC_URI =
>> "git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;protocol=git"
>>
>> +SRCREV = "${SRCREV_pn-trace-cmd}"
>> +S = "${WORKDIR}/git"
>> +
>> +EXTRA_OEMAKE = "'CC=${CC}' 'AR=${AR}' 'prefix=${prefix}' gui"
>> +
>> +do_install() {
>> + oe_runmake CC="${CC}" AR="${AR}" prefix="${prefix}" DESTDIR="${D}"
>> install_gui
>> +}
>


-- 
Darren Hart
Yocto Linux Kernel



More information about the poky mailing list