]> git.baikalelectronics.ru Git - kernel.git/commitdiff
tracing: Fix a typo in tracepoint.h
authorHuang Shijie <shijie@os.amperecomputing.com>
Mon, 2 Aug 2021 14:02:34 +0000 (14:02 +0000)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 16 Aug 2021 15:37:21 +0000 (11:37 -0400)
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>
include/linux/tracepoint.h

index ab58696d0ddd15e2850cb1b1b50dccafb6e22487..28031b15f878380fafdc8040d1dabe710ec6b583 100644 (file)
@@ -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;
  *     *