diff options
author | David Daney <david.daney@cavium.com> | 2011-09-23 20:29:55 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-10-24 18:34:27 -0400 |
commit | 939991cff173f769efb8c56286d4e59fb9ced191 (patch) | |
tree | 6208a111429e280a64c901d30bbe3923de16aceb /arch/mips/Kconfig | |
parent | 82091564cfd7ab8def42777a9c662dbf655c5d25 (diff) |
MIPS: perf: Add Octeon support for hardware perf.
Enable hardware counters for Octeon, and add the corresponding event
mappings.
Signed-off-by: David Daney <david.daney@cavium.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2790/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r-- | arch/mips/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 90877154f298..a92648438240 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig | |||
@@ -2101,7 +2101,7 @@ config NODES_SHIFT | |||
2101 | 2101 | ||
2102 | config HW_PERF_EVENTS | 2102 | config HW_PERF_EVENTS |
2103 | bool "Enable hardware performance counter support for perf events" | 2103 | bool "Enable hardware performance counter support for perf events" |
2104 | depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1) | 2104 | depends on PERF_EVENTS && !MIPS_MT_SMTC && OPROFILE=n && (CPU_MIPS32 || CPU_MIPS64 || CPU_R10000 || CPU_SB1 || CPU_CAVIUM_OCTEON) |
2105 | default y | 2105 | default y |
2106 | help | 2106 | help |
2107 | Enable hardware performance counter support for perf events. If | 2107 | Enable hardware performance counter support for perf events. If |