Messages in this thread | | | From | Roland Dreier <> | Subject | Re: [PATCH -tip] perf_counter tools: shorten names for events | Date | Thu, 25 Jun 2009 08:05:55 -0700 |
| |
> 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.
| |