summaryrefslogtreecommitdiffstats
path: root/tools/perf/perf.c
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2010-03-19 15:28:58 +0800
committerIngo Molnar <mingo@elte.hu>2010-03-19 09:23:17 +0100
commit40b7e05e17eef31ff30fe08dfc2424ef653a792c (patch)
tree915e76e0f28664707a4f41a2d75583b8dd23a9e4 /tools/perf/perf.c
parent9c8c6bad3137112d2c7bf3d215b736ee4215fa74 (diff)
downloadblackbird-op-linux-40b7e05e17eef31ff30fe08dfc2424ef653a792c.tar.gz
blackbird-op-linux-40b7e05e17eef31ff30fe08dfc2424ef653a792c.zip
perf, x86: Fix key indexing in Pentium-4 PMU
Index 0-6 in p4_templates are reserved for common hardware events. So p4_templates is arranged as below: 0 - 6: common hardware events 7 - N: cache events N+1 - ...: other raw events Reported-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Cc: Peter Zijlstra <peterz@infradead.org> LKML-Reference: <1268983738.13901.142.camel@minggr.sh.intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/perf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud