kernel_optimize_test/arch/mips/oprofile
James Hogan 30228c40f0 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.

[ralf@linux-mips.org: resolve conflict.]

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Robert Richter <rric@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: oprofile-list@lists.sf.net
Patchwork: https://patchwork.linux-mips.org/patch/13226/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2016-05-13 15:30:25 +02:00
..
backtrace.c MIPS: oprofile: Backtrace: don't fail on leaf functions 2014-11-24 07:45:31 +01:00
common.c MIPS: oprofile: Fix a preemption issue 2016-05-09 12:00:03 +02:00
Makefile MIPS: Loongson-3: Add oprofile support 2014-11-24 07:45:01 +01:00
op_impl.h MIPS: oprofile: Add callgraph support 2011-06-15 14:35:34 +02:00
op_model_loongson2.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00
op_model_loongson3.c MIPS: Loongson-3: Add oprofile support 2014-11-24 07:45:01 +01:00
op_model_mipsxx.c MIPS: Add perf counter feature 2016-05-13 15:30:25 +02:00