Re: [PATCH 1/2] perf pt: Mark PT return events as "return"
From: Adrian Hunter
Date: Thu Jun 16 2016 - 08:42:50 EST
On 11/06/16 01:55, Andi Kleen wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> 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.
>
> Create a separate return event and mark the returns as return.
I tend to think that there should be a new itrace option for that.
Also I have an alternative. Please let me know what you think.
http://marc.info/?l=linux-kernel&m=146608073131297