aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/browsers/annotate.c
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2012-05-08 16:49:49 +0000
committerArnaldo Carvalho de Melo <[email protected]>2012-05-09 15:01:57 +0000
commit40491eaa46a693e8c6ef94102350a747c63e584d (patch)
tree07397113da8a7bc78c28ba90b66d3acbefda8612 /tools/perf/ui/browsers/annotate.c
parentperf stat: handle ENXIO error for perf_event_open (diff)
downloadkernel-40491eaa46a693e8c6ef94102350a747c63e584d.tar.gz
kernel-40491eaa46a693e8c6ef94102350a747c63e584d.zip
perf top: Update event name when falling back to cpu-clock
The 'perf top' command falls back to cpu-clock if the H/W cycles event is not supported, but the event name is not updated leading to a misleading header: PerfTop: 8 irqs/sec kernel:75.0% exact: 0.0% [1000Hz cycles], ... Update the event name when the event type is changed so that the header displays correctly: PerfTop: 794 irqs/sec kernel:100.0% exact: 0.0% [1000Hz cpu-clock], ... Signed-off-by: David Ahern <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/ui/browsers/annotate.c')
0 files changed, 0 insertions, 0 deletions