Re: [PATCH 2/2] perf-report: add --max-stack option to limit callchain stack scan

2013-10-17 Thread Waiman Long
On 10/16/2013 11:01 PM, David Ahern wrote: On 10/16/13 1:59 PM, Waiman Long wrote: This patch adds a new --max-stack option to perf-report to limit the depth of callchain stack data to look at to reduce the time it takes for perf-report to finish its processing. It trades the presence of trailin

Re: [PATCH 2/2] perf-report: add --max-stack option to limit callchain stack scan

2013-10-16 Thread David Ahern
On 10/16/13 1:59 PM, Waiman Long wrote: This patch adds a new --max-stack option to perf-report to limit the depth of callchain stack data to look at to reduce the time it takes for perf-report to finish its processing. It trades the presence of trailing stack information with faster speed. I l

[PATCH 2/2] perf-report: add --max-stack option to limit callchain stack scan

2013-10-16 Thread Waiman Long
When callgraph data was included in the perf data file, it may take a long time to scan all those data and merge them together especially if the stored callchains are long and the perf data file itself is large, like a Gbyte or so. The callchain stack is currently limited to PERF_MAX_STACK_DEPTH (