Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

oprofile: Disable oprofile NMI timer on ppc64

We want to enable the hard lockup detector on ppc64, but right now
that enables the oprofile NMI timer too.

We'd prefer not to enable the oprofile NMI timer, it adds another
element to our PMU testing and it requires us to increase our
exported symbols (eg cpu_khz).

Modify the config entry for OPROFILE_NMI_TIMER to disable it on PPC64.

Signed-off-by: Anton Blanchard <anton@samba.org>
Acked-by: Robert Richter <rric@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Anton Blanchard and committed by
Michael Ellerman
af9feebe b816ce67

+1 -1
+1 -1
arch/Kconfig
··· 32 32 33 33 config OPROFILE_NMI_TIMER 34 34 def_bool y 35 - depends on PERF_EVENTS && HAVE_PERF_EVENTS_NMI 35 + depends on PERF_EVENTS && HAVE_PERF_EVENTS_NMI && !PPC64 36 36 37 37 config KPROBES 38 38 bool "Kprobes"