Skip to contentSkip to conversation

make O=/my/personal/build/using/root's/kernel/sources -- broken for perf

DISCUSSION David Ahern 1 participant 1 message Mar 6, 2013 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 9 lines · rh

I hadn't tried to build perf using make O= previously so I don't know if it ever worked. But I tried to use it and it doesn't work.

Also, I have a local libdef.h but perf doesn't see it/use it, it is in /usr/include/libelf/libelf.h

I'm trying to use my system as an end user that has no root privileges. Therefore I am building the kernel in /usr/src/linux with make O=/my/output/dir

That's how I always build perf. Either from top-level 'make O=/tmp/pbuild -C tools/perf' or from tools/perf and just 'make O=/tmp/pbuild'. And often from a VM mounting the kernel tree over NFS read-only. It works fine for me.

What problem are you having and what version?

David