summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorVincent Donnefort <vdonnefort@google.com>2026-10-15 12:28:14 +0100
committerMarc Zyngier <maz@kernel.org>2026-10-26 07:58:28 +0000
commit3bb853ad84244f0b86ab12f029bc4a0c9c7100e8 (patch)
tree2b5b4ebe3a64887fda502ca5efaaf9f8626fc26c /arch
parent7ad25ad110608320348669488297e06ea8c72f85 (diff)
tracing/remotes: Fix TRACE_REMOTE build when TRACING=n
TRACE_REMOTE relies on tracefs, eventfs and ring-buffer which are only built and declared when TRACING is enabled. It is however possible for a config to have FTRACE=y TRACING=n and TRACE_REMOTE=y. To fix this configuration, have TRACE_REMOTE select TRACING directly, just like other FTRACE options do and drop the TRACING dependency from NVHE_EL2_TRACING to avoid a circular Kconfig dependency. Cc: stable@vger.kernel.org Fixes: ea908a2b79c8 ("tracing: Add a trace remote module for testing") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202610142301.GBepPVmS-lkp@intel.com/ Signed-off-by: Vincent Donnefort <vdonnefort@google.com> Acked-by: Steven Rostedt <rostedt@goodmis.org> Link: https://patch.msgid.link/20261015112814.332084-1-vdonnefort@google.com Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm64/kvm/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/Kconfig b/arch/arm64/kvm/Kconfig
index 449154f9a485..e179b8ad79e8 100644
--- a/arch/arm64/kvm/Kconfig
+++ b/arch/arm64/kvm/Kconfig
@@ -74,7 +74,7 @@ if NVHE_EL2_DEBUG
config NVHE_EL2_TRACING
bool
- depends on TRACING && FTRACE
+ depends on FTRACE
select TRACE_REMOTE
default y