Commit e94102e5 authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Jonathan Corbet
Browse files

docs, kprobes: Fix the wrong location of Kprobes



After commit 22471e13 ("kconfig: use a menu in arch/Kconfig to reduce
clutter"), the location of Kprobes is under "General architecture-dependent
options" rather than "General setup".

Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Acked-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
Fixes: 22471e13 ("kconfig: use a menu in arch/Kconfig to reduce clutter")
Link: https://lore.kernel.org/r/1663322106-12178-1-git-send-email-yangtiezhu@loongson.cn


Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 1404f292
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -328,8 +328,8 @@ Configuring Kprobes
===================

When configuring the kernel using make menuconfig/xconfig/oldconfig,
ensure that CONFIG_KPROBES is set to "y". Under "General setup", look
for "Kprobes".
ensure that CONFIG_KPROBES is set to "y", look for "Kprobes" under
"General architecture-dependent options".

So that you can load and unload Kprobes-based instrumentation modules,
make sure "Loadable module support" (CONFIG_MODULES) and "Module