diff options
| author | Franck Bui-Huu <[email protected]> | 2010-11-30 11:50:14 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2010-11-30 16:48:07 +0000 |
| commit | 60e677373be9c0bf7c9a22937601d5a40e51c042 (patch) | |
| tree | ab4a5af10366d0210b7715122cfa5ff307d26593 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | perf symbols: Figure out start address of kernel map from kallsyms (diff) | |
| download | kernel-60e677373be9c0bf7c9a22937601d5a40e51c042.tar.gz kernel-60e677373be9c0bf7c9a22937601d5a40e51c042.zip | |
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: <[email protected]>
Signed-off-by: Franck Bui-Huu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions
