diff options
author | Nikanth Karthikesan <knikanth@suse.de> | 2008-11-29 15:43:32 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-29 15:13:42 +0100 |
commit | f08340c5d68ab621f377c108637e2d8e95b3e5d4 (patch) | |
tree | bf3e1f96c87d9c01798bf2422d88e1d6672e3002 /Documentation/tracepoints.txt | |
parent | c7cc77307669336a08928ab8668bdb3f3bcc021b (diff) | |
download | kernel-crypto-f08340c5d68ab621f377c108637e2d8e95b3e5d4.tar.gz kernel-crypto-f08340c5d68ab621f377c108637e2d8e95b3e5d4.tar.xz kernel-crypto-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.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/tracepoints.txt b/Documentation/tracepoints.txt index 2d42241a25c..6f0a044f5b5 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 |