aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/tracepoints.txt
diff options
context:
space:
mode:
authorNikanth Karthikesan <knikanth@suse.de>2008-11-29 05:13:32 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-29 09:13:42 -0500
commitf08340c5d68ab621f377c108637e2d8e95b3e5d4 (patch)
treebf3e1f96c87d9c01798bf2422d88e1d6672e3002 /Documentation/tracepoints.txt
parentc7cc77307669336a08928ab8668bdb3f3bcc021b (diff)
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 <knikanth@suse.de> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation/tracepoints.txt')
-rw-r--r--Documentation/tracepoints.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/tracepoints.txt b/Documentation/tracepoints.txt
index 2d42241a25c3..6f0a044f5b5e 100644
--- a/Documentation/tracepoints.txt
+++ b/Documentation/tracepoints.txt
@@ -45,7 +45,7 @@ In include/trace/subsys.h :
45#include <linux/tracepoint.h> 45#include <linux/tracepoint.h>
46 46
47DECLARE_TRACE(subsys_eventname, 47DECLARE_TRACE(subsys_eventname,
48 TPPTOTO(int firstarg, struct task_struct *p), 48 TPPROTO(int firstarg, struct task_struct *p),
49 TPARGS(firstarg, p)); 49 TPARGS(firstarg, p));
50 50
51In subsys/file.c (where the tracing statement must be added) : 51In subsys/file.c (where the tracing statement must be added) :
@@ -66,7 +66,7 @@ Where :
66 - subsys is the name of your subsystem. 66 - subsys is the name of your subsystem.
67 - eventname is the name of the event to trace. 67 - eventname is the name of the event to trace.
68 68
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
70 function called by this tracepoint. 70 function called by this tracepoint.
71 71
72- TPARGS(firstarg, p) are the parameters names, same as found in the 72- TPARGS(firstarg, p) are the parameters names, same as found in the