linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf bpf-output example program
@ 2016-10-23 17:10 Vince Weaver
  2016-10-25  3:20 ` Wangnan (F)
  0 siblings, 1 reply; 3+ messages in thread
From: Vince Weaver @ 2016-10-23 17:10 UTC (permalink / raw)
  To: linux-perf-users; +Cc: Wang Nan


Does anyone have a working perf bpf-output example program?

The one from the original commit to the kernel 
03e0a7df3efd959e40cd7ff40b1fabddc234ec5a
does not work for me:

sudo perf record -a -e bpf-output/no-inherit,name=evt/ -e 
./test_bpf_output.c/map:channel:event=evt/ ls /

WARNING:	unable to get correct kernel building directory.
Hint:	Set correct kbuild directory using 'kbuild-dir' option in [llvm]
     	section of ~/.perfconfig or set it to "" to suppress kbuild
     	detection.

event syntax error: './test_bpf_output.c/map:channel:event=evt/'
                     \___ Failed to load program for unknown reason

Vince

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-25  5:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-23 17:10 perf bpf-output example program Vince Weaver
2016-10-25  3:20 ` Wangnan (F)
2016-10-25  5:37   ` Vince Weaver

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).