[Buildroot] [PATCH] perf: new package

Stefan Fröberg stefan.froberg at petroprogram.com
Thu Jan 3 15:48:45 UTC 2013


3.1.2013 17:24, Stefan Fröberg kirjoitti:
> 3.1.2013 17:07, Thomas Petazzoni kirjoitti:
>> This patch adds a new package that allows to build the 'perf'
>> userspace tool that comes in the tools/perf directory of the kernel
>> sources.
>>
>> It is an alternative proposal to the one done by Kaiwan Billimoria
>> <kaiwan.billimoria at gmail.com>, in that it creates the package in
>> package/perf/. It therefore properly integrates with the Buildroot
>> package infrastructure.
>>
>> Of course, the package depends on the Linux kernel to be built by
>> Buildroot, in order to get Perf sources matching the version of the
>> kernel that will be executed.
>>
>> One remaining issue is that this package only builds properly with
>> kernel >= v3.7 (but it was the same with Kaiwan proposal) : the
>> NO_LIBELF variable, which allows to get rid of the libelf dependency,
>> has only been introduced between 3.6 and 3.7. If we want to support
>> older kernel versions, we'll have to create a package for libelf.
> Here is an elfutils 0.155 (which contains libelf) for buildroot that I
> posted some time ago.
> Patch #4 is missing from that list because it was too big to submit to
> this list.
>
> http://lists.busybox.net/pipermail/buildroot/2012-December/063855.html
> http://lists.busybox.net/pipermail/buildroot/2012-December/063856.html
> http://lists.busybox.net/pipermail/buildroot/2012-December/063864.html
> http://lists.busybox.net/pipermail/buildroot/2012-December/063858.html
> http://lists.busybox.net/pipermail/buildroot/2012-December/063857.html
> http://lists.busybox.net/pipermail/buildroot/2012-December/063859.html
> http://lists.busybox.net/pipermail/buildroot/2012-December/063861.html
> http://lists.busybox.net/pipermail/buildroot/2012-December/063860.html
> http://lists.busybox.net/pipermail/buildroot/2012-December/063863.html
> http://lists.busybox.net/pipermail/buildroot/2012-December/063862.html
> http://lists.busybox.net/pipermail/buildroot/2012-December/063865.html
>
> Regards
> Stefan
>


And now while i *still* remember, that first patch, patch #1 should be
replaced with this

http://lists.busybox.net/pipermail/buildroot/2012-December/063876.html

> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot



More information about the buildroot mailing list