Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1429844

[PATCH V2 0/3] perf script: Add callindent option

From Adrian Hunter <adrian.hunter@intel.com>
Newsgroups linux.kernel
Subject [PATCH V2 0/3] perf script: Add callindent option
Date 2016-06-23 15:50 +0200
Message-ID <rNdb3-2hy-7@gated-at.bofh.it> (permalink)
Organization Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki

Show all headers | View raw


Hi

Andi Kleen sent a couple of patches to add a callindent option to
perf script. Andi was agreeable to this alternative implementation.

While there are some differences in the resulting output, the main
difference is:

 1. Tell the decoder to feed branches to the thread stack, which has the
 advantage that it happens before branch filtering and so can be used
 with different itrace options (e.g. it still works when only showing
 calls, even though the thread stack needs to see calls and returns). Also
 it does not conflict with using the thread stack to get callchains.

Changes in V2:

	Remove the prefix string
	Add a patch to display the sample flags more nicely


Adrian Hunter (3):
      perf script: Print sample flags more nicely
      perf auxtrace: Add option to feed branches to the thread stack
      perf script: Add callindent option

 tools/perf/Documentation/perf-script.txt |  11 +++-
 tools/perf/builtin-script.c              | 103 ++++++++++++++++++++++++++++++-
 tools/perf/util/auxtrace.h               |   2 +
 tools/perf/util/intel-bts.c              |  22 +++++--
 tools/perf/util/intel-pt.c               |   5 +-
 tools/perf/util/thread-stack.c           |   7 +++
 tools/perf/util/thread-stack.h           |   1 +
 7 files changed, 142 insertions(+), 9 deletions(-)


Regards
Adrian

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH V2 0/3] perf script: Add callindent option Adrian Hunter <adrian.hunter@intel.com> - 2016-06-23 15:50 +0200
  [PATCH V2 1/3] perf script: Print sample flags more nicely Adrian Hunter <adrian.hunter@intel.com> - 2016-06-23 15:50 +0200
    [tip:perf/core] perf script: Print sample flags more nicely tip-bot for Adrian Hunter <tipbot@zytor.com> - 2016-06-26 13:00 +0200
  Re: [PATCH V2 0/3] perf script: Add callindent option Andi Kleen <ak@linux.intel.com> - 2016-06-23 18:20 +0200

csiph-web