diff options
| author | James Hogan <[email protected]> | 2016-05-11 13:50:53 +0100 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2016-05-13 15:30:25 +0200 |
| commit | 30228c40f0c6f0a93910325f120904505a4c39cc (patch) | |
| tree | e94f33f75456f37efe79b1bcfb7b5359035dfbb1 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f18bdfa191df3947879f93519ce4a4985e5f5fce (diff) | |
MIPS: Add perf counter feature
Add CPU feature for standard MIPS r2 performance counters, as determined
by the Config1.PC bit. Both perf_events and oprofile probe this bit, so
lets combine the probing and change both to use cpu_has_perf.
This will also be used for VZ support in KVM to know whether performance
counters exist which can be exposed to guests.
[[email protected]: resolve conflict.]
Signed-off-by: James Hogan <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Robert Richter <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/13226/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions