Re: [PATCH -tip] perf_counter tools: shorten names for events
From: Roland Dreier
Date: Thu Jun 25 2009 - 11:06:05 EST
> This still looks ugly and lines are again long check for
> 'L1-dcache-prefetch-misses' and does not solve the purpose :
>
> Performance counter stats for 'ls -lR /usr/include/':
>
> 254259235 L1-dcache-loads (scaled from 22.69%)
> 1129360 L1-dcache-load-misses (scaled from 23.05%)
> 151929 L1-dcache-stores (scaled from 22.94%)
> 395089 L1-dcache-prefetches (scaled from 23.30%)
> 273699 L1-dcache-prefetch-misses (scaled from 23.19%)
> 253780608 L1-icache-loads (scaled from 23.07%)
> 4014781 L1-icache-load-misses (scaled from 23.16%)
But even the longest line there (dcache-prefetch-misses) is only 64
columns long, so you could just align the "(scaled" part a little
further to the right and keep the output under, say, 72 columns.
- R.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/