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

Burton, Ross ross.burton at intel.com
Thu Jul 28 02:17:57 PDT 2016


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/bfe25164/attachment.html>


More information about the yocto mailing list