diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index be586c632a0c04da3887ae6a0cf28357df98ef5c..28ac87d84f054dea639e976ef62102c1296aeaed 100644 --- a/include/linux/tracepoint.h +++ b/include/linux/tracepoint.h @@ -20,6 +20,7 @@ #include <linux/cpumask.h> #include <linux/rcupdate.h> #include <linux/tracepoint-defs.h> +#include <linux/measuremore.h> struct module; struct tracepoint; @@ -182,6 +183,7 @@ extern void syscall_unregfunc(void); extern struct tracepoint __tracepoint_##name; \ static inline void trace_##name(proto) \ { \ + memo_checkpoint("trace_" #name); \ if (static_key_false(&__tracepoint_##name.key)) \ __DO_TRACE(&__tracepoint_##name, \ TP_PROTO(data_proto), \