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]
/
probes
/
lttng-tracepoint-event-impl.h
diff --git
a/probes/lttng-tracepoint-event-impl.h
b/probes/lttng-tracepoint-event-impl.h
index 321cdfa44c61afac7d79c857e4655bf47cc98737..72a669e929d91f3415f8ae72c0ea492e14958df1 100644
(file)
--- a/
probes/lttng-tracepoint-event-impl.h
+++ b/
probes/lttng-tracepoint-event-impl.h
@@
-15,7
+15,7
@@
#include <probes/lttng.h>
#include <probes/lttng-types.h>
#include <probes/lttng-probe-user.h>
#include <probes/lttng.h>
#include <probes/lttng-types.h>
#include <probes/lttng-probe-user.h>
-#include <wrapper/vmalloc.h> /* for wrapper_vmalloc_sync_
all
() */
+#include <wrapper/vmalloc.h> /* for wrapper_vmalloc_sync_
mappings
() */
#include <wrapper/ringbuffer/frontend_types.h>
#include <wrapper/ringbuffer/backend.h>
#include <wrapper/rcu.h>
#include <wrapper/ringbuffer/frontend_types.h>
#include <wrapper/ringbuffer/backend.h>
#include <wrapper/rcu.h>
@@
-1132,11
+1132,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))) \
@@
-1225,11
+1225,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))) \
@@
-1391,7
+1391,7
@@
static __used struct lttng_probe_desc TP_ID(__probe_desc___, TRACE_SYSTEM) = {
#ifndef TP_MODULE_NOINIT
static int TP_ID(__lttng_events_init__, TRACE_SYSTEM)(void)
{
#ifndef TP_MODULE_NOINIT
static int TP_ID(__lttng_events_init__, TRACE_SYSTEM)(void)
{
- wrapper_vmalloc_sync_
all
();
+ wrapper_vmalloc_sync_
mappings
();
return lttng_probe_register(&TP_ID(__probe_desc___, TRACE_SYSTEM));
}
return lttng_probe_register(&TP_ID(__probe_desc___, TRACE_SYSTEM));
}
This page took
0.025019 seconds
and
4
git commands to generate.