projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to use caa_likely/caa_unlikely from urcu 0.6.6
[lttng-ust.git]
/
include
/
ust
/
tracepoint.h
diff --git
a/include/ust/tracepoint.h
b/include/ust/tracepoint.h
index c484353dc28ffbc2475cc35e24b676f074bfc3bb..e39a3849bc8b928bc7aaff2e5d4f5192eb300a5b 100644
(file)
--- a/
include/ust/tracepoint.h
+++ b/
include/ust/tracepoint.h
@@
-77,7
+77,7
@@
struct tracepoint {
#define __CHECK_TRACE(name, proto, args) \
do { \
#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)
__DO_TRACE(&__tracepoint_##name, \
TP_PROTO(proto), TP_ARGS(args)); \
} while (0)
@@
-99,7
+99,6
@@
struct tracepoint {
{ \
return __tracepoint_probe_register(#name, (void *)probe,\
data); \
{ \
return __tracepoint_probe_register(#name, (void *)probe,\
data); \
- \
} \
static inline int \
__unregister_trace_##name(void (*probe)(data_proto), void *data)\
} \
static inline int \
__unregister_trace_##name(void (*probe)(data_proto), void *data)\
This page took
0.024588 seconds
and
4
git commands to generate.