On Wed, May 27, 2015 at 10:51:47AM -0700, Andi Kleen wrote: > From: Andi Kleen <[email protected]> > > 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 <[email protected]>
Acked-by: Jiri Olsa <[email protected]> thanks, jirka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

