diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2025-03-23 15:21:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-04-10 14:33:43 +0200 |
commit | 1a84c0be74174462f3bcf93d9c50941c5a30c505 (patch) | |
tree | 0158683d87f4475daa3b9dcb3bc35856401193c7 /arch/mips/mm/pgtable-32.c | |
parent | 14a6b65c83886443049e2139ca4ba8153555eaa5 (diff) | |
download | linux-1a84c0be74174462f3bcf93d9c50941c5a30c505.tar.gz linux-1a84c0be74174462f3bcf93d9c50941c5a30c505.tar.bz2 linux-1a84c0be74174462f3bcf93d9c50941c5a30c505.zip |
tracing: Do not use PERF enums when perf is not defined
commit 8eb1518642738c6892bd629b46043513a3bf1a6a upstream.
An update was made to up the module ref count when a synthetic event is
registered for both trace and perf events. But if perf is not configured
in, the perf enums used will cause the kernel to fail to build.
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Douglas Raillard <douglas.raillard@arm.com>
Link: https://lore.kernel.org/20250323152151.528b5ced@batman.local.home
Fixes: 21581dd4e7ff ("tracing: Ensure module defining synth event cannot be unloaded while tracing")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202503232230.TeREVy8R-lkp@intel.com/
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/mips/mm/pgtable-32.c')
0 files changed, 0 insertions, 0 deletions