Skip to content

Commit f08340c

Browse files
Nikanth KarthikesanIngo Molnar
authored andcommitted
tracepoints: Documentation TPPROTO misspelt in Documentation/tracepoints.txt
Impact: fix typo in documentation TPPROTO is misspelt in Documentation/tracepoints.txt Kept me wondering what was wrong, when I was trying to add a new tracepoint subsystem. Signed-off-by: Nikanth Karthikesan <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
1 parent c7cc773 commit f08340c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/tracepoints.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ In include/trace/subsys.h :
4545
#include <linux/tracepoint.h>
4646

4747
DECLARE_TRACE(subsys_eventname,
48-
TPPTOTO(int firstarg, struct task_struct *p),
48+
TPPROTO(int firstarg, struct task_struct *p),
4949
TPARGS(firstarg, p));
5050

5151
In subsys/file.c (where the tracing statement must be added) :
@@ -66,7 +66,7 @@ Where :
6666
- subsys is the name of your subsystem.
6767
- eventname is the name of the event to trace.
6868

69-
- TPPTOTO(int firstarg, struct task_struct *p) is the prototype of the
69+
- TPPROTO(int firstarg, struct task_struct *p) is the prototype of the
7070
function called by this tracepoint.
7171

7272
- TPARGS(firstarg, p) are the parameters names, same as found in the

0 commit comments

Comments
 (0)