lkml.org 
[lkml]   [2015]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 04/11] perf, tools, report: Add infrastructure for a cycles histogram
On Wed, May 27, 2015 at 10:51:47AM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
>
> This adds the basic infrastructure to keep track of cycle counts
> per basic block for annotate. We allocate an array similar to the
> normal accounting, and then account branch cycles there.
>
> We handle two cases:
> cycles per basic block with start and cycles per branch
> (these are later used for either IPC or just cycles per BB)
>
> In the start case we cannot handle overlaps, so always the longest
> basic block wins.
>
> For the cycles per branch case everything is accurately accounted.
>
> v2: Remove unnecessary checks. Slight restructure. Move
> symbol__get_annotation to another patch. Move histogram allocation.
> Signed-off-by: Andi Kleen <ak@linux.intel.com>

Acked-by: Jiri Olsa <jolsa@kernel.org>

thanks,
jirka


\
 
 \ /
  Last update: 2015-06-01 16:41    [W:0.272 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site