Re: [PATCH] perf/core: Add a tracepoint for perf sampling

2016-08-02 Thread Brendan Gregg
On Fri, Jul 29, 2016 at 8:34 PM, Wangnan (F) wrote: > > > On 2016/7/30 2:05, Brendan Gregg wrote: >> >> On Tue, Jul 19, 2016 at 4:20 PM, Brendan Gregg wrote: >>> >>> When perf is performing hrtimer-based sampling, this tracepoint can be >>> used >>> by

Re: [PATCH] perf/core: Add a tracepoint for perf sampling

2016-08-02 Thread Brendan Gregg
On Fri, Jul 29, 2016 at 8:34 PM, Wangnan (F) wrote: > > > On 2016/7/30 2:05, Brendan Gregg wrote: >> >> On Tue, Jul 19, 2016 at 4:20 PM, Brendan Gregg wrote: >>> >>> When perf is performing hrtimer-based sampling, this tracepoint can be >>> used >>> by BPF to run additional logic on each sample.

Re: [PATCH] perf/core: Add a tracepoint for perf sampling

2016-07-29 Thread Wangnan (F)
On 2016/7/30 2:05, Brendan Gregg wrote: On Tue, Jul 19, 2016 at 4:20 PM, 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

Re: [PATCH] perf/core: Add a tracepoint for perf sampling

2016-07-29 Thread Wangnan (F)
On 2016/7/30 2:05, Brendan Gregg wrote: On Tue, Jul 19, 2016 at 4:20 PM, 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

Re: [PATCH] perf/core: Add a tracepoint for perf sampling

2016-07-29 Thread Brendan Gregg
On Fri, Jul 29, 2016 at 12:21 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, Jul 19, 2016 at 11:20:48PM +, Brendan Gregg escreveu: >> When perf is performing hrtimer-based sampling, this tracepoint can be used >> by BPF to run additional logic on each sample. For example, BPF

Re: [PATCH] perf/core: Add a tracepoint for perf sampling

2016-07-29 Thread Brendan Gregg
On Fri, Jul 29, 2016 at 12:21 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, Jul 19, 2016 at 11:20:48PM +, Brendan Gregg escreveu: >> 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 >>

Re: [PATCH] perf/core: Add a tracepoint for perf sampling

2016-07-29 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 19, 2016 at 11:20:48PM +, Brendan Gregg escreveu: > 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 >

Re: [PATCH] perf/core: Add a tracepoint for perf sampling

2016-07-29 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 19, 2016 at 11:20:48PM +, Brendan Gregg escreveu: > 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 >

Re: [PATCH] perf/core: Add a tracepoint for perf sampling

2016-07-29 Thread Brendan Gregg
On Tue, Jul 19, 2016 at 4:20 PM, 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

Re: [PATCH] perf/core: Add a tracepoint for perf sampling

2016-07-29 Thread Brendan Gregg
On Tue, Jul 19, 2016 at 4:20 PM, 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.

[PATCH] perf/core: Add a tracepoint for perf sampling

2016-07-19 Thread Brendan Gregg
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. Signed-off-by: Brendan Gregg Cc: Alexei

[PATCH] perf/core: Add a tracepoint for perf sampling

2016-07-19 Thread Brendan Gregg
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. Signed-off-by: Brendan Gregg Cc: Alexei Starovoitov Cc: Wang