Franck Bui-Huu 60e677373b perf header: Don't assume there's no attr info if no sample ids is provided
This primarily fixes perf-report, which didn't report the correct type
of event if perf-record was called to record one event different from
'cycles':

  $ perf record -e instructions true
    [ perf record: Woken up 1 times to write data ]
    [ perf record: Captured and wrote 0.007 MB perf.data (~295 samples) ]

  $ perf report | head -n1
    # Events: 7  cycles

LPU-Reference: <m3mxor6nex.fsf@gmail.com>
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
2010-11-30 14:48:07 -02:00
..
2010-08-21 11:22:47 -03:00
2010-08-22 21:10:35 +02:00
2009-12-28 10:36:36 +01:00
2010-08-04 12:41:23 -03:00
2010-08-04 12:41:23 -03:00
2010-08-22 21:10:35 +02:00
2010-10-21 16:11:44 -02:00
2010-08-21 11:22:47 -03:00
2010-05-14 20:05:21 -03:00
2010-01-13 10:09:15 +01:00