On 10/18/13 8:38 AM, Waiman Long wrote:
When the callgraph function is enabled (-G), it may take a long time to
scan all the stack data and merge them accordingly.

This patch adds a new --max-stack option to perf-top to limit the depth
of callchain stack data to look at to reduce the time it takes for
perf-top to finish its processing. It reduces the amount of information
provided to the user in exchange for faster speed.

Signed-off-by: Waiman Long <waiman.l...@hp.com>
---
  tools/perf/Documentation/perf-top.txt |    8 ++++++++
  tools/perf/builtin-top.c              |    8 ++++++--
  tools/perf/util/top.h                 |    1 +
  3 files changed, 15 insertions(+), 2 deletions(-)


Looks good to me. Acked-by: David Ahern <dsah...@gmail.com>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to