Re: [PATCH v2 1/3] perf/core: Add a tracepoint for perf sampling
From: Peter Zijlstra
Date: Wed Aug 03 2016 - 06:13:39 EST
On Wed, Aug 03, 2016 at 02:47:47AM +0000, Brendan Gregg wrote:
> When perf is performing hrtimer-based sampling, this tracepoint can be used
> by BPF to run additional logic on each sample. For example, BPF can fetch
> stack traces and frequency count them in kernel context, for an efficient
> profiler.
Urgh, no like.
And then next week we'll add a tracepoint to some other random pmu or
whatnot.