[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160630085324.GF30935@twins.programming.kicks-ass.net>
Date: Thu, 30 Jun 2016 10:53:24 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Andi Kleen <andi@...stfloor.org>
Cc: acme@...nel.org, jolsa@...nel.org, linux-kernel@...r.kernel.org,
namhyung@...nel.org, Andi Kleen <ak@...ux.intel.com>
Subject: Re: [PATCH 5/9] perf, tools: Compute IPC and basic block cycles for
annotate
On Sat, Jul 18, 2015 at 08:24:50AM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@...ux.intel.com>
>
> 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 first to know
> the number of instructions in the basic block.
>
> The cycles/IPC are also put into the perf function annotation
> so that the display code can show them.
>
> Again basic block overlaps are not handled, with the longest winning,
> but there are some heuristics to hide the IPC when the longest is not
> the most common.
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?
I'm looking to plot the hottest path through a branchy function.
Powered by blists - more mailing lists