Re: [PATCH] perf tools: update docs regarding kernel/user space unwinding

From: Tony Jones
Date: Wed Mar 25 2020 - 15:29:52 EST


On Wed, Mar 25, 2020 at 04:17:57PM -0300, Arnaldo Carvalho de Melo wrote:

> > As an aside, for record path, do you know where PERF_SAMPLE_CALLCHAIN
> > is actually set before being passed to kernel space?
>
> So, I think is somewhere down from perf_evsel__config()... its in:
>
> perf_evsel__set_sample_bit(evsel, CALLCHAIN);

Thanks for the pointer. I was having a hard time finding it, being too specific.

Tony