summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorFranck Bui-Huu <fbuihuu@gmail.com>2010-11-30 12:50:14 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-11-30 17:48:07 +0100
commit60e677373be9c0bf7c9a22937601d5a40e51c042 (patch)
treeab4a5af10366d0210b7715122cfa5ff307d26593 /kernel
parentperf symbols: Figure out start address of kernel map from kallsyms (diff)
downloadlinux-60e677373be9c0bf7c9a22937601d5a40e51c042.tar.xz
linux-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: <m3mxor6nex.fsf@gmail.com> Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions