Re: [PATCH/RFC] perf core: Allow setting up max frame stack depth via sysctl

From: Arnaldo Carvalho de Melo
Date: Wed Apr 20 2016 - 20:18:37 EST


Em Wed, Apr 20, 2016 at 05:10:17PM -0600, David Ahern escreveu:
> On 4/20/16 4:47 PM, Arnaldo Carvalho de Melo wrote:
> > # echo 256 > /proc/sys/kernel/perf_event_max_stack
> > # cat /proc/sys/kernel/perf_event_max_stack
> > 256

> I would love to see something like this go in. Right now I have to recompile
> the kernel because I want a lower max count.

> In the past we talked about about making this part of the attribute with
> separate controls for both kernel stack and userspace stack. Have you given
> up on that option?

Nope, I'll try to work on that too, I even mentioned it above, the part
"one per event remains to be done".

- Arnaldo