Re: [PATCH 5/9] perf, tools: Compute IPC and basic block cycles for annotate

2016-07-02 Thread Andi Kleen
> I'm looking at basic block support, but this all seems to depend on the > cycles stuff. Can we get the basic block stuff without that? Not sure what you mean with basic block stuff, but ... > > I'm looking to plot the hottest path through a branchy function. Use --branch-history to get a histo

Re: [PATCH 5/9] perf, tools: Compute IPC and basic block cycles for annotate

2016-06-30 Thread Peter Zijlstra
On Sat, Jul 18, 2015 at 08:24:50AM -0700, Andi Kleen wrote: > From: Andi Kleen > > Compute the IPC and the basic block cycles for the annotate display. > > IPC is computed by counting the instructions, and then dividing the > accounted cycles by that count. > > The actual IPC computation can on

[PATCH 5/9] perf, tools: Compute IPC and basic block cycles for annotate

2015-07-18 Thread Andi Kleen
From: Andi Kleen Compute the IPC and the basic block cycles for the annotate display. IPC is computed by counting the instructions, and then dividing the accounted cycles by that count. The actual IPC computation can only be done at annotate time, because we need to parse the objdump output fir