TPPROTO is misspelt in Documentation/tracepoints.txt Kept me wondering what was wrong, when I was trying to add a new tracepoint subsystem. Thanks Nikanth Karthikesan Signed-off-by: Nikanth Karthikesan <knikanth@xxxxxxx> --- diff --git a/Documentation/tracepoints.txt b/Documentation/tracepoints.txt index 5d354e1..1886bbc 100644 --- a/Documentation/tracepoints.txt +++ b/Documentation/tracepoints.txt @@ -43,7 +43,7 @@ In include/trace/subsys.h : #include <linux/tracepoint.h> DEFINE_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) : @@ -61,7 +61,7 @@ Where : - subsys_eventname is an identifier unique to your event - 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 function +- 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 prototype. -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html