docs: trace: fix the location of kprobes.rst
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 9 Sep 2020 14:10:37 +0000 (16:10 +0200)
committerJonathan Corbet <corbet@lwn.net>
Thu, 10 Sep 2020 16:46:24 +0000 (10:46 -0600)
This patch was moved out of staging.

Fixes: 2165b82fde82 ("docs: Move kprobes.rst from staging/ to trace/")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/a6d4c62e19ab1510789418a3a5ad42980cd7ae3a.1599660067.git.mchehab+huawei@kernel.org
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/trace/kprobetrace.rst
samples/kprobes/kprobe_example.c
samples/kprobes/kretprobe_example.c

index c1709165c55353f2affa37848eb5947b9c092757..10850a9e9af3cbd6d93abc2dbfb0adcc3aa42b0a 100644 (file)
@@ -40,7 +40,7 @@ Synopsis of kprobe_events
  MEMADDR       : Address where the probe is inserted.
  MAXACTIVE     : Maximum number of instances of the specified function that
                  can be probed simultaneously, or 0 for the default value
-                 as defined in Documentation/staging/kprobes.rst section 1.3.1.
+                 as defined in Documentation/trace/kprobes.rst section 1.3.1.
 
  FETCHARGS     : Arguments. Each probe can have up to 128 args.
   %REG         : Fetch register REG
index 240f2435ce6f78e92714f9d4387ba02368f3da98..8b718943d603b64e19ebdb6f69cfef010c113a9d 100644 (file)
@@ -5,7 +5,7 @@
  * stack trace and selected registers when _do_fork() is called.
  *
  * For more information on theory of operation of kprobes, see
- * Documentation/staging/kprobes.rst
+ * Documentation/trace/kprobes.rst
  *
  * You will see the trace data in /var/log/messages and on the console
  * whenever _do_fork() is invoked to create a new process.
index 78a2da6fb3cd2480dadaface53fea640a4b88d99..69fd1235108ac05bde5c7c759f90ba8488da489e 100644 (file)
@@ -11,7 +11,7 @@
  * If no func_name is specified, _do_fork is instrumented
  *
  * For more information on theory of operation of kretprobes, see
- * Documentation/staging/kprobes.rst
+ * Documentation/trace/kprobes.rst
  *
  * Build and insert the kernel module as done in the kprobe example.
  * You will see the trace data in /var/log/messages and on the console