diff options
author | Stephane Eranian <[email protected]> | 2015-12-03 21:03:10 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-01-06 11:15:34 +0100 |
commit | 673d188ba5b1cef6f9a41a5a18b490b2831c3ea5 (patch) | |
tree | 2520f5c66655e61d25bbc01e73e1e9881e2b3795 /tools/perf/builtin-annotate.c | |
parent | 1424a09a9e1839285e948d4ea9fdfca26c9a2086 (diff) |
perf/x86: Enable cycles:pp for Intel Atom
This patch updates the PEBS support for Intel Atom to provide
an alias for the cycles:pp event used by perf record/top by default
nowadays.
On Atom, only INST_RETIRED:ANY supports PEBS, so we use this event
instead with a large cmask to count cycles. Given that Core2 has
the same issue, we use the intel_pebs_aliases_core2() function for Atom
as well.
Signed-off-by: Stephane Eranian <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions