# SPDX-License-Identifier: GPL-2.0
# General architecture dependent options
# Note: arch/$(SRCARCH)/Kconfig needs to be included first so that it can
# override the default values in this file.
source "arch/$(SRCARCH)/Kconfig"
menu "General architecture-dependent options"
tristate "OProfile system profiling"
select RING_BUFFER_ALLOW_SWAP
OProfile is a profiling system capable of profiling the
whole system, include the kernel, kernel modules, libraries,
config OPROFILE_EVENT_MULTIPLEX
bool "OProfile multiplexing support (EXPERIMENTAL)"
depends on OPROFILE && X86
The number of hardware counters is limited. The multiplexing
feature enables OProfile to gather more events than counters
are provided by the hardware. This is realized by switching
between events at a user specified time interval.
config OPROFILE_NMI_TIMER
depends on PERF_EVENTS && HAVE_PERF_EVENTS_NMI && !PPC64