Skip to contentSkip to conversation

tracing: Fix a typo

PATCH New Huang Shijie 1 participant 1 message Aug 2, 2021 Tracing

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tracing: Fix a typo

It should be @prev_pid, not @prev_prid.

---
 include/linux/tracepoint.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/tracepoint.h +1 -1
index ab58696d0ddd..28031b15f878 100644
@@ -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;
  *	*
Signature · 1 line
2.30.2