#include "lib/bitfield.h"
#include "wrapper/tracepoint.h"
#include "wrapper/file.h"
+#include "wrapper/rcu.h"
#include "lttng-events.h"
#ifndef CONFIG_COMPAT
if (unlikely(is_compat_task())) {
struct lttng_syscall_filter *filter;
- filter = rcu_dereference(chan->sc_filter);
+ filter = lttng_rcu_dereference(chan->sc_filter);
if (filter) {
if (id < 0 || id >= NR_compat_syscalls
|| !test_bit(id, filter->sc_compat)) {
} else {
struct lttng_syscall_filter *filter;
- filter = rcu_dereference(chan->sc_filter);
+ filter = lttng_rcu_dereference(chan->sc_filter);
if (filter) {
if (id < 0 || id >= NR_syscalls
|| !test_bit(id, filter->sc)) {
if (unlikely(is_compat_task())) {
struct lttng_syscall_filter *filter;
- filter = rcu_dereference(chan->sc_filter);
+ filter = lttng_rcu_dereference(chan->sc_filter);
if (filter) {
if (id < 0 || id >= NR_compat_syscalls
|| !test_bit(id, filter->sc_compat)) {
} else {
struct lttng_syscall_filter *filter;
- filter = rcu_dereference(chan->sc_filter);
+ filter = lttng_rcu_dereference(chan->sc_filter);
if (filter) {
if (id < 0 || id >= NR_syscalls
|| !test_bit(id, filter->sc)) {