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

2016-06-23 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 23, 2016 at 09:20:32AM -0700, Andi Kleen escreveu: > > Here I think we should try to make the output more compact, so perhaps > > we should have some way to ask 'perf script' to show just timestamp > > deltas from the previous entry, for instance, i.e. replace that 'time' > > with a new

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

2016-06-23 Thread Andi Kleen
> Here I think we should try to make the output more compact, so perhaps > we should have some way to ask 'perf script' to show just timestamp > deltas from the previous entry, for instance, i.e. replace that 'time' > with a new 'delta' -F entry. Agreed, also have a way to hide the numerical addre

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

2016-06-23 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 23, 2016 at 04:40:58PM +0300, Adrian Hunter escreveu: > Based on patches from Andi Kleen. > > When printing PT instruction traces with perf script it is rather useful to > see some indentation for the call tree. This patch adds a new callindent > field to perf script that prints spaces

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

2016-06-23 Thread Adrian Hunter
Based on patches from Andi Kleen. When printing PT instruction traces with perf script it is rather useful to see some indentation for the call tree. This patch adds a new callindent field to perf script that prints spaces for the function call stack depth. We already have code to track the funct