linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* perf bpf examples
@ 2016-07-06 20:29 Brendan Gregg
  2016-07-07  1:49 ` Wangnan (F)
  0 siblings, 1 reply; 8+ messages in thread
From: Brendan Gregg @ 2016-07-06 20:29 UTC (permalink / raw)
  To: linux-perf-use.; +Cc: Wang Nan

G'Day,

Are perf bpf examples shared anywhere? I've seen many posted to lkml
(by Wang Nan), but don't see them in the linux source, or
documentation. Would be very handy to throw them all up somewhere for
searching/learning, if that hasn't already happened, eg, github.

I was also looking to see if perf bpf supports sampling yet, but I
don't think it does. Eg, imagine a:

perf record -F 99 -e bpf_process_samples.c -a -- sleep 10

which would require BPF attaching to perf_swevent_hrtimer()/etc, and
also emitting a map (eg, sampled instruction pointer counts). I don't
think perf currently does either, but was hoping for a collection of
examples to double check.

Brendan

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

end of thread, other threads:[~2016-07-08 16:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-06 20:29 perf bpf examples Brendan Gregg
2016-07-07  1:49 ` Wangnan (F)
2016-07-07 17:54   ` Brendan Gregg
2016-07-07 17:58     ` Brendan Gregg
2016-07-08  4:18       ` Wangnan (F)
2016-07-08  7:57         ` Brendan Gregg
2016-07-08 10:46           ` Wangnan (F)
2016-07-08 16:35             ` Brendan Gregg

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).