X-Git-Url: http://git.liburcu.org/?p=ust.git;a=blobdiff_plain;f=include%2Fust%2Ftracepoint.h;h=ade567726e9c4cffeffc5e0c39d61a8b66927a35;hp=5e7f9d86967580fd314ca1b21621e678ff585f85;hb=5296e06cffd5ed5dcf3bb9fe7e3a18744ac18823;hpb=f3c6d9046c03c71b2028c88a9444519299b7b4c2 diff --git a/include/ust/tracepoint.h b/include/ust/tracepoint.h index 5e7f9d8..ade5677 100644 --- a/include/ust/tracepoint.h +++ b/include/ust/tracepoint.h @@ -27,6 +27,7 @@ #include #include +#include struct tracepoint_probe { void *func; @@ -96,7 +97,7 @@ struct tracepoint { #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)