X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Ftracepoint.h;h=49db615a0996e49b067534e388baaa360a820292;hb=106ff4dab82c51bd7bf022220bf43f15fb04f8bc;hp=927b1a3cd9ef83a48ec40053506d9cce20ed9e1f;hpb=c589eca21586907ffd057fa614e7e2715086b5c7;p=lttng-ust.git diff --git a/include/lttng/tracepoint.h b/include/lttng/tracepoint.h index 927b1a3c..49db615a 100644 --- a/include/lttng/tracepoint.h +++ b/include/lttng/tracepoint.h @@ -185,9 +185,10 @@ void __tracepoint_cb_##_provider##___##_name(_TP_ARGS_PROTO(__VA_ARGS__)) \ end: \ tp_rcu_read_unlock(); \ } \ -static inline lttng_ust_notrace \ +static inline \ void __tracepoint_register_##_provider##___##_name(char *name, \ - void (*func)(void), void *data); \ + void (*func)(void), void *data) \ + lttng_ust_notrace; \ static inline \ void __tracepoint_register_##_provider##___##_name(char *name, \ void (*func)(void), void *data) \ @@ -195,9 +196,10 @@ void __tracepoint_register_##_provider##___##_name(char *name, \ __tracepoint_probe_register(name, func, data, \ __tracepoint_##_provider##___##_name.signature); \ } \ -static inline lttng_ust_notrace \ +static inline \ void __tracepoint_unregister_##_provider##___##_name(char *name, \ - void (*func)(void), void *data); \ + void (*func)(void), void *data) \ + lttng_ust_notrace; \ static inline \ void __tracepoint_unregister_##_provider##___##_name(char *name, \ void (*func)(void), void *data) \ @@ -310,8 +312,9 @@ static inline void tracepoint_disable_destructors(void) } #ifndef _LGPL_SOURCE -static inline void lttng_ust_notrace -__tracepoint__init_urcu_sym(void); +static inline void +__tracepoint__init_urcu_sym(void) + lttng_ust_notrace; static inline void __tracepoint__init_urcu_sym(void) { @@ -338,8 +341,9 @@ __tracepoint__init_urcu_sym(void) "tp_rcu_dereference_sym")); } #else -static inline void lttng_ust_notrace -__tracepoint__init_urcu_sym(void); +static inline void +__tracepoint__init_urcu_sym(void) + lttng_ust_notrace; static inline void __tracepoint__init_urcu_sym(void) {