[yocto] How to Set up Perf tool
Amit Tomer
amittomer25 at gmail.com
Fri Nov 1 13:19:34 PDT 2013
Thanks Brauce
We worked it out and Perf recipe as you said perf.bb is there in
poky/meta/recipe-kernel.
Also,we installed it our rootfs and it working good.
Thanks
Amit
On Sat, Nov 2, 2013 at 12:22 AM, Bruce Ashfield
<bruce.ashfield at windriver.com> wrote:
> On 13-11-01 12:40 PM, Amit Tomer wrote:
>>
>> We have a requirement here to set up the perf tool through our Yocto
>> frame work.
>>
>> As Perf source comes with linux kernel under tools/perf ,so it should be
>> compiled with kernel recipe itself.
>>
>> But after bitbake of our kernel recipe,we couldn't find any binary
>> related to perf.
>> we made sure that below variable should be set in kernel config file
>>
>> CONFIG_HAVE_PERF_EVENTS=y
>> CONFIG_PERF_EVENTS=y
>>
>> Do we need to make any change to our kernel recipe file as well??
>>
>> Can anyone let us know how we should set Perf tool.
>
>
> It depends on the version of the the project and the kernel you are
> using, but there's a separate perf recipe, and has been for quite a
> while.
>
> That perf builds out of the staged kernel source, which is put
> in place as part of the kernel build.
>
> Try an old fashioned: bitbake perf
>
> And see what you get. If you want it to be built and installed into
> your rootfs, you'll need to arrange to get it into your image's
> installed package list.
>
> Bruce
>
>
>>
>> Thanks
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
More information about the yocto
mailing list