]> Git Repo - linux.git/commit - kernel/sysctl.c
perf core: Generalize max_stack sysctl handler
authorArnaldo Carvalho de Melo <[email protected]>
Tue, 10 May 2016 19:34:53 +0000 (16:34 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Tue, 17 May 2016 02:11:49 +0000 (23:11 -0300)
commita831100aeefbe6d9f3e47a3e2712f82c042f1f5c
tree7771949ed9e7c8519edab809c4cbd4aa5731d104
parent0a77582f0407e7f9b5d775bebc31297a1b890be0
perf core: Generalize max_stack sysctl handler

So that it can be used for other stack related knobs, such as the
upcoming one to tweak the max number of of contexts per stack sample.

In all those cases we can only change the value if there are no perf
sessions collecting stacks, so they need to grab that mutex, etc.

Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
kernel/events/callchain.c
kernel/sysctl.c
This page took 0.052454 seconds and 4 git commands to generate.