Re: [PATCH 10/15 V3] perf, c2c: Display cacheline HITM analysis to stdout

2014-04-08 Thread Namhyung Kim
Hi Don, On Mon, 24 Mar 2014 15:37:01 -0400, Don Zickus wrote: > + sprintf(summary, "%4d %5.1f%% %5.1f%% %5.1f%% %5.1f%% %8d %8d %8d %8d > %18s %6s\n", > + record, > + tot_dist * 100., > + tot_cumm * 100., > + ld_d

Re: [PATCH 10/15 V3] perf, c2c: Display cacheline HITM analysis to stdout

2014-04-08 Thread Namhyung Kim
> + if (coalesce_level > MAX_LVL) > + printf("DON: bad coalesce level %d\n", coalesce_level); Please use pr_warning() with the "DON" prefix removed :) Thanks, Namhyung -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@

[PATCH 10/15 V3] perf, c2c: Display cacheline HITM analysis to stdout

2014-03-24 Thread Don Zickus
This patch mainly focuses on processing and displaying the collected HITMs to stdout. Most of it is just printing data in a pretty way. There is one trick used when walking the cacheline. When we get this far we have two rbtrees. One rbtree holds every record sorted on a unique id (using the mm