Message ID | 20241031152056.744137-5-mathieu.desnoyers@efficios.com (mailing list archive) |
---|---|
State | Queued |
Commit | 0b135a713fa7af6b9881c97d0f43ae60976a5403 |
Headers | show |
Series | Faultable syscall tracepoints updates | expand |
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index 906f3091d23d..425123e921ac 100644 --- a/include/linux/tracepoint.h +++ b/include/linux/tracepoint.h @@ -301,6 +301,7 @@ static inline struct tracepoint *tracepoint_ptr_deref(tracepoint_ptr_t *p) __DECLARE_TRACE_COMMON(name, PARAMS(proto), PARAMS(args), cond, PARAMS(data_proto)) \ static inline void trace_##name(proto) \ { \ + might_fault(); \ if (static_branch_unlikely(&__tracepoint_##name.key)) \ __DO_TRACE(name, \ TP_ARGS(args), \