projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wrapper: remove rcu list traversal wrapper
[lttng-modules.git]
/
lttng-syscalls.c
diff --git
a/lttng-syscalls.c
b/lttng-syscalls.c
index edb69b09bc23c79d133a72209eedb95fb672b033..41fc2e3dc6565927baa499f849266247fb5249e1 100644
(file)
--- a/
lttng-syscalls.c
+++ b/
lttng-syscalls.c
@@
-391,7
+391,7
@@
void syscall_entry_probe(void *__data, struct pt_regs *regs, long id)
if (unlikely(in_compat_syscall())) {
struct lttng_syscall_filter *filter;
if (unlikely(in_compat_syscall())) {
struct lttng_syscall_filter *filter;
- filter =
lttng_rcu_dereference
(chan->sc_filter);
+ filter =
rcu_dereference_raw_check
(chan->sc_filter);
if (filter) {
if (id < 0 || id >= NR_compat_syscalls
|| !test_bit(id, filter->sc_compat)) {
if (filter) {
if (id < 0 || id >= NR_compat_syscalls
|| !test_bit(id, filter->sc_compat)) {
@@
-405,7
+405,7
@@
void syscall_entry_probe(void *__data, struct pt_regs *regs, long id)
} else {
struct lttng_syscall_filter *filter;
} else {
struct lttng_syscall_filter *filter;
- filter =
lttng_rcu_dereference
(chan->sc_filter);
+ filter =
rcu_dereference_raw_check
(chan->sc_filter);
if (filter) {
if (id < 0 || id >= NR_syscalls
|| !test_bit(id, filter->sc)) {
if (filter) {
if (id < 0 || id >= NR_syscalls
|| !test_bit(id, filter->sc)) {
@@
-545,7
+545,7
@@
void syscall_exit_probe(void *__data, struct pt_regs *regs, long ret)
if (unlikely(in_compat_syscall())) {
struct lttng_syscall_filter *filter;
if (unlikely(in_compat_syscall())) {
struct lttng_syscall_filter *filter;
- filter =
lttng_rcu_dereference
(chan->sc_filter);
+ filter =
rcu_dereference_raw_check
(chan->sc_filter);
if (filter) {
if (id < 0 || id >= NR_compat_syscalls
|| !test_bit(id, filter->sc_compat)) {
if (filter) {
if (id < 0 || id >= NR_compat_syscalls
|| !test_bit(id, filter->sc_compat)) {
@@
-559,7
+559,7
@@
void syscall_exit_probe(void *__data, struct pt_regs *regs, long ret)
} else {
struct lttng_syscall_filter *filter;
} else {
struct lttng_syscall_filter *filter;
- filter =
lttng_rcu_dereference
(chan->sc_filter);
+ filter =
rcu_dereference_raw_check
(chan->sc_filter);
if (filter) {
if (id < 0 || id >= NR_syscalls
|| !test_bit(id, filter->sc)) {
if (filter) {
if (id < 0 || id >= NR_syscalls
|| !test_bit(id, filter->sc)) {
This page took
0.023158 seconds
and
4
git commands to generate.