aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAdrian Hunter <[email protected]>2015-09-25 16:15:51 +0300
committerArnaldo Carvalho de Melo <[email protected]>2015-09-28 17:09:41 -0300
commit3c5b645faee7afbd417f6127694adbd26778a9eb (patch)
treed32c8ca1538ab82a1cc578547aa0c7fbff4caec2 /tools/perf/scripts/python/stackcollapse.py
parent44cbe7295c3808977159f500a5bcdebf12a7db5f (diff)
perf script: Make scripting_max_stack value allow for synthesized callchains
perf script has a setting to set the maximum stack depth when processing callchains. The setting defaults to the hard-coded maximum definition PERF_MAX_STACK_DEPTH which is 127. It is possible, when processing instruction traces, to synthesize callchains. Synthesized callchains do not have the kernel size limitation and are whatever size the user requests, although validation presently prevents the user requested a value greater that 1024. The default value is 16. To allow for synthesized callchains, make the scripting_max_stack value at least the same size as the synthesized callchain size. Signed-off-by: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions