lkml.org 
[lkml]   [2013]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] perf: add option to limit callchain stack scan to increase speed
Date
v1->v2:
- Include a compilation fix patch and a code streamlining patch
into the patch set.
- Use the __stringify() macro in stringify.h instead of adding a
duplicate macro.
- Add the --max-stack option to perf-top as well.

This perf patch set contains the following changes:

Patch 1 - Fix a perf tool compilation error that happens on SLES 11
sp3 system.
Patch 2 - Streamline the append_chain() function to make it run a bit
faster.
Patch 3 - Add a --max-stack option to perf-report to speed up its
processing at the expense of less backtrace information
available.
Patch 4 - Add a similar --max-stack option to perf-top.

Waiman Long (4):
perf: Fix potential compilation error with some compilers
perf: streamline append_chain() function
perf-report: add --max-stack option to limit callchain stack scan
perf-top: add --max-stack option to limit callchain stack scan

tools/perf/Documentation/perf-report.txt | 8 +++++++
tools/perf/Documentation/perf-top.txt | 8 +++++++
tools/perf/builtin-report.c | 22 +++++++++++++++----
tools/perf/builtin-top.c | 9 ++++++-
tools/perf/util/callchain.c | 9 +++----
tools/perf/util/machine.c | 14 ++++++++----
tools/perf/util/machine.h | 3 +-
.../perf/util/scripting-engines/trace-event-perl.c | 6 ++++-
tools/perf/util/session.c | 3 +-
tools/perf/util/top.h | 1 +
10 files changed, 63 insertions(+), 20 deletions(-)



\
 
 \ /
  Last update: 2013-10-18 17:01    [W:0.335 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site