projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: removal of [smp_]read_barrier_depends (v5.9)
[lttng-modules.git]
/
include
/
lttng
/
tracepoint-event-impl.h
diff --git
a/include/lttng/tracepoint-event-impl.h
b/include/lttng/tracepoint-event-impl.h
index 25077772d77419b47346b9c4ad0f43df04f83ca5..f27a45c090e9e0eb163808e518982e1a8dcf0014 100644
(file)
--- a/
include/lttng/tracepoint-event-impl.h
+++ b/
include/lttng/tracepoint-event-impl.h
@@
-12,16
+12,16
@@
#include <asm/byteorder.h>
#include <linux/swab.h>
#include <asm/byteorder.h>
#include <linux/swab.h>
-#include <lttng/types.h>
-#include <lttng/probe-user.h>
#include <wrapper/vmalloc.h> /* for wrapper_vmalloc_sync_mappings() */
#include <ringbuffer/frontend_types.h>
#include <ringbuffer/backend.h>
#include <wrapper/rcu.h>
#include <wrapper/user_namespace.h>
#include <wrapper/vmalloc.h> /* for wrapper_vmalloc_sync_mappings() */
#include <ringbuffer/frontend_types.h>
#include <ringbuffer/backend.h>
#include <wrapper/rcu.h>
#include <wrapper/user_namespace.h>
-#include <lttng-events.h>
-#include <lttng-tracer-core.h>
-#include <lttng-tp-mempool.h>
+#include <lttng/types.h>
+#include <lttng/probe-user.h>
+#include <lttng/events.h>
+#include <lttng/tracer-core.h>
+#include <lttng/tp-mempool.h>
#define __LTTNG_NULL_STRING "(null)"
#define __LTTNG_NULL_STRING "(null)"
@@
-1153,11
+1153,11
@@
static void __event_probe__##_name(void *__data, _proto) \
\
if (!_TP_SESSION_CHECK(session, __session)) \
return; \
\
if (!_TP_SESSION_CHECK(session, __session)) \
return; \
- if (unlikely(!
READ_ONCE(__session->active)))
\
+ if (unlikely(!
LTTNG_READ_ONCE(__session->active)))
\
return; \
return; \
- if (unlikely(!
READ_ONCE(__chan->enabled)))
\
+ if (unlikely(!
LTTNG_READ_ONCE(__chan->enabled)))
\
return; \
return; \
- if (unlikely(!
READ_ONCE(__event->enabled)))
\
+ if (unlikely(!
LTTNG_READ_ONCE(__event->enabled)))
\
return; \
__lf = lttng_rcu_dereference(__session->pid_tracker.p); \
if (__lf && likely(!lttng_id_tracker_lookup(__lf, current->tgid))) \
return; \
__lf = lttng_rcu_dereference(__session->pid_tracker.p); \
if (__lf && likely(!lttng_id_tracker_lookup(__lf, current->tgid))) \
@@
-1248,11
+1248,11
@@
static void __event_probe__##_name(void *__data) \
\
if (!_TP_SESSION_CHECK(session, __session)) \
return; \
\
if (!_TP_SESSION_CHECK(session, __session)) \
return; \
- if (unlikely(!
READ_ONCE(__session->active)))
\
+ if (unlikely(!
LTTNG_READ_ONCE(__session->active)))
\
return; \
return; \
- if (unlikely(!
READ_ONCE(__chan->enabled)))
\
+ if (unlikely(!
LTTNG_READ_ONCE(__chan->enabled)))
\
return; \
return; \
- if (unlikely(!
READ_ONCE(__event->enabled)))
\
+ if (unlikely(!
LTTNG_READ_ONCE(__event->enabled)))
\
return; \
__lf = lttng_rcu_dereference(__session->pid_tracker.p); \
if (__lf && likely(!lttng_id_tracker_lookup(__lf, current->tgid))) \
return; \
__lf = lttng_rcu_dereference(__session->pid_tracker.p); \
if (__lf && likely(!lttng_id_tracker_lookup(__lf, current->tgid))) \
This page took
0.025031 seconds
and
4
git commands to generate.