#define __CHECK_TRACE(name, proto, args) \
do { \
- if (unlikely(__tracepoint_##name.state)) \
+ if (caa_unlikely(__tracepoint_##name.state)) \
__DO_TRACE(&__tracepoint_##name, \
TP_PROTO(proto), TP_ARGS(args)); \
} while (0)
{ \
return __tracepoint_probe_register(#name, (void *)probe,\
data); \
- \
} \
static inline int \
__unregister_trace_##name(void (*probe)(data_proto), void *data)\