[yocto] How to Set up Perf tool

Amit Tomer amittomer25 at gmail.com
Fri Nov 1 09:40:10 PDT 2013


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.

Thanks



More information about the yocto mailing list