lkml.org 
[lkml]   [2011]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] perf: make perf.data more self-descriptive (v5)
From
On Fri, Sep 23, 2011 at 10:03 AM, Pekka Enberg <penberg@cs.helsinki.fi> wrote:
> Hi Stephane!
>
> On Fri, Sep 23, 2011 at 10:31 AM, Stephane Eranian <eranian@google.com> wrote:
>>> So how important is this information? The output is going to be somewhat
>>> awkward for very large CPU counts... :-)
>>>
>> It is useful to determine how CPUs share caches for instance.
>> It can get large but large, but the meta-data header is not printed by
>> default, you need to request it with the -I option.
>
> Well, sure but it blocks rest of the interesting information too. It seems to me
> that the CPU information could be truncated to some sane limit by default and
> introduce a command line option for users that really want to see all of it.
>
Ok, so here is a proposal:
- reorder the info so one liners appear first
- display the "truncated" info by default (no option)
- truncated: numa topo, cpu topo, stop after 4 cpus/nodes, print msg
to hint at -I option
- use -I to print the extended header info report

That way we do no introduce two options just for the header information.

How about that instead?


\
 
 \ /
  Last update: 2011-09-23 11:07    [from the cache]
©2003-2011 Jasper Spaans