aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/tracepoints.txt
diff options
context:
space:
mode:
authorNikanth Karthikesan <knikanth@suse.de>2008-11-29 15:43:32 +0530
committerIngo Molnar <mingo@elte.hu>2008-11-29 15:13:42 +0100
commitf08340c5d68ab621f377c108637e2d8e95b3e5d4 (patch)
treebf3e1f96c87d9c01798bf2422d88e1d6672e3002 /Documentation/tracepoints.txt
parentMerge branches 'tracing/blktrace', 'tracing/ftrace', 'tracing/function-graph-tracer' and 'tracing/power-tracer' into tracing/core (diff)
downloadlinux-dev-f08340c5d68ab621f377c108637e2d8e95b3e5d4.tar.xz
linux-dev-f08340c5d68ab621f377c108637e2d8e95b3e5d4.zip
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 :
#include <linux/tracepoint.h>
DECLARE_TRACE(subsys_eventname,
- TPPTOTO(int firstarg, struct task_struct *p),
+ TPPROTO(int firstarg, struct task_struct *p),
TPARGS(firstarg, p));
In subsys/file.c (where the tracing statement must be added) :
@@ -66,7 +66,7 @@ Where :
- subsys is the name of your subsystem.
- eventname is the name of the event to trace.
-- TPPTOTO(int firstarg, struct task_struct *p) is the prototype of the
+- TPPROTO(int firstarg, struct task_struct *p) is the prototype of the
function called by this tracepoint.
- TPARGS(firstarg, p) are the parameters names, same as found in the