[yocto] Compilation error while adding perf tool to the rootfs

Vijayakumar Badiger vijayakumarmb at gmail.com
Thu Jul 28 09:54:30 PDT 2016


Hello Ross,

I am using my own kernel [3.18] + oe-core's perf recipe to build the perf
utility. Thanks.

Cheers
Vijay


On Thu, Jul 28, 2016 at 2:17 AM, Burton, Ross <ross.burton at intel.com> wrote:

>
> On 27 July 2016 at 22:53, Vijayakumar Badiger <vijayakumarmb at gmail.com>
> 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 I added this
>> perf tool to be installed
>> as part of my rootfs image.
>>
>> But when I build the image I am getting error related to headerfile
>> missing.
>>
>> *fatal error: asm/preempt.h: No such file or directory*
>>
>
> Perf builds for me fine using oe-core's perf recipe and meta-intel's
> kernel, so are you using your own recipe for perf or the kernel?
>
> Ross
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160728/b33181cd/attachment.html>


More information about the yocto mailing list