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


Groups > linux.kernel > #1405751

Re: [PATCH 1/2] perf pt: Mark PT return events as "return"

From Andi Kleen <ak@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] perf pt: Mark PT return events as "return"
Date 2016-05-24 03:00 +0200
Message-ID <rC8Rr-4wP-3@gated-at.bofh.it> (permalink)
References <rAYKt-1Ao-3@gated-at.bofh.it> <rBWQi-5Ct-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, May 23, 2016 at 03:05:08PM +0300, Adrian Hunter wrote:
> On 20/05/16 22:52, Andi Kleen wrote:
> > From: Andi Kleen <ak@linux.intel.com>
> > 
> > With perf script --itrace=cr we can synthesize calls and returns out of
> > a PT log. However both calls and returns are marked with the same event,
> > called branches. This makes it difficult to read and post process,
> > because calls and returns are somewhat diffferent.
> 
> Did you consider the sample flags?
> e.g.

True. But reporting it in the event name looks nicer, so I think the patch
is still useful.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only

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


Thread

[PATCH 1/2] perf pt: Mark PT return events as "return" Andi Kleen <andi@firstfloor.org> - 2016-05-20 22:00 +0200
  Re: [PATCH 1/2] perf pt: Mark PT return events as "return" Adrian Hunter <adrian.hunter@intel.com> - 2016-05-23 14:10 +0200
    Re: [PATCH 1/2] perf pt: Mark PT return events as "return" Andi Kleen <ak@linux.intel.com> - 2016-05-24 03:00 +0200

csiph-web