linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/3] perf script: Add callindent option
@ 2016-06-23 13:40 Adrian Hunter
  2016-06-23 13:40 ` [PATCH V2 1/3] perf script: Print sample flags more nicely Adrian Hunter
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Adrian Hunter @ 2016-06-23 13:40 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo; +Cc: Jiri Olsa, linux-kernel, Andi Kleen

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-06-26 11:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-23 13:40 [PATCH V2 0/3] perf script: Add callindent option Adrian Hunter
2016-06-23 13:40 ` [PATCH V2 1/3] perf script: Print sample flags more nicely Adrian Hunter
2016-06-26 10:59   ` [tip:perf/core] " tip-bot for Adrian Hunter
2016-06-23 13:40 ` [PATCH V2 2/3] perf auxtrace: Add option to feed branches to the thread stack Adrian Hunter
2016-06-26 10:59   ` [tip:perf/core] " tip-bot for Adrian Hunter
2016-06-23 13:40 ` [PATCH V2 3/3] perf script: Add callindent option Adrian Hunter
2016-06-23 14:09   ` Arnaldo Carvalho de Melo
2016-06-23 16:20     ` Andi Kleen
2016-06-23 16:46       ` Arnaldo Carvalho de Melo
2016-06-26 11:00   ` [tip:perf/core] " tip-bot for Adrian Hunter
2016-06-23 16:18 ` [PATCH V2 0/3] " Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).