summaryrefslogtreecommitdiff
path: root/include/linux/tracepoint.h
diff options
context:
space:
mode:
authorHuang Shijie <shijie@os.amperecomputing.com>2021-08-02 17:02:34 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-08-16 18:37:21 +0300
commitc3b1c377f0102e88dea6354d9cdb34a9d1c90971 (patch)
tree61723ac90f6f004cc1775a241f364acca65e5f52 /include/linux/tracepoint.h
parent4aae683f132777a92b80d6971d56174d5f4cb3f3 (diff)
downloadlinux-c3b1c377f0102e88dea6354d9cdb34a9d1c90971.tar.xz
tracing: Fix a typo in tracepoint.h
It should be @prev_pid, not @prev_prid. Link: https://lkml.kernel.org/r/20210802140234.5383-1-shijie@os.amperecomputing.com Signed-off-by: Huang Shijie <shijie@os.amperecomputing.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/tracepoint.h')
-rw-r--r--include/linux/tracepoint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h
index ab58696d0ddd..28031b15f878 100644
--- a/include/linux/tracepoint.h
+++ b/include/linux/tracepoint.h
@@ -475,7 +475,7 @@ static inline struct tracepoint *tracepoint_ptr_deref(tracepoint_ptr_t *p)
* *
* * The declared 'local variable' is called '__entry'
* *
- * * __field(pid_t, prev_prid) is equivalent to a standard declaration:
+ * * __field(pid_t, prev_pid) is equivalent to a standard declaration:
* *
* * pid_t prev_pid;
* *