All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] perf stat: useless output for raw events with new event parser
@ 2012-04-23 10:45 Stephane Eranian
  2012-04-23 10:48 ` Peter Zijlstra
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Stephane Eranian @ 2012-04-23 10:45 UTC (permalink / raw)
  To: LKML
  Cc: Arnaldo Carvalho de Melo, Peter Zijlstra, mingo, David Ahern,
	Robert Richter, Frédéric Weisbecker, Jiri Olsa

Hi,

With the new event parser, one can express raw events field by field:

$ perf stat -e cpu/event=0x3c,umask=0x0/,cpu/event=0xc5,umask=0x0/ noploop 1

The problem with this is that the output of perf stat becomes useless:

$ perf stat -e cpu/event=0x3c,umask=0x0/,cpu/event=0xc5,umask=0x0/ noploop 1
noploop for 1 seconds

 Performance counter stats for 'noploop 1':

        2395038678 pmu
            10787 pmu
                       ^^^^^^
       1.000802603 seconds time elapsed

We lose the event names or encoding completely. Now for all events
expressed via this
new syntax , all we see is 'pmu'. That is pretty useless. It is hard
to decrypt the results
without some serious scripting.

Not sure how to solve this given how the parser works. This looks like
a regression to me.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2012-05-07 16:58 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-23 10:45 [BUG] perf stat: useless output for raw events with new event parser Stephane Eranian
2012-04-23 10:48 ` Peter Zijlstra
2012-04-23 10:55   ` Jiri Olsa
2012-04-23 10:56   ` Robert Richter
2012-04-23 11:17   ` Stephane Eranian
2012-04-26 10:27     ` Peter Zijlstra
2012-04-26 12:53       ` Stephane Eranian
2012-04-26 14:03         ` Peter Zijlstra
2012-04-26 13:12       ` Robert Richter
2012-04-26 14:24         ` Peter Zijlstra
2012-04-26 14:45           ` Robert Richter
2012-04-26 15:39             ` Peter Zijlstra
2012-04-26 17:36               ` Robert Richter
2012-05-07 12:42                 ` Peter Zijlstra
2012-05-07 16:58                   ` Robert Richter
2012-04-23 10:57 ` Jiri Olsa
2012-05-02 11:14 ` Stephane Eranian

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.