[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150601141941.GA14991@krava.redhat.com>
Date: Mon, 1 Jun 2015 16:19:41 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: Andi Kleen <andi@...stfloor.org>
Cc: acme@...nel.org, namhyung@...nel.org, eranian@...gle.com,
linux-kernel@...r.kernel.org, Andi Kleen <ak@...ux.intel.com>
Subject: Re: [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@...ux.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@...ux.intel.com>
Acked-by: Jiri Olsa <jolsa@...nel.org>
thanks,
jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists