X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-tracker-pid.c;h=55bf63c994de212ea34a372be80a033d9bcc2be7;hb=refs%2Fheads%2Fstable-2.7;hp=eeee9d55a5b844106178d5186c37ef61012aa2e3;hpb=f934e302d314d76563484f31caed56ad680eb17b;p=lttng-modules.git diff --git a/lttng-tracker-pid.c b/lttng-tracker-pid.c index eeee9d55..55bf63c9 100644 --- a/lttng-tracker-pid.c +++ b/lttng-tracker-pid.c @@ -29,6 +29,7 @@ #include #include "wrapper/tracepoint.h" +#include "wrapper/rcu.h" #include "wrapper/list.h" #include "lttng-events.h" @@ -59,7 +60,7 @@ bool lttng_pid_tracker_lookup(struct lttng_pid_tracker *lpf, int pid) uint32_t hash = hash_32(pid, 32); head = &lpf->pid_hash[hash & (LTTNG_PID_TABLE_SIZE - 1)]; - lttng_hlist_for_each_entry_rcu_notrace(e, head, hlist) { + lttng_hlist_for_each_entry_rcu(e, head, hlist) { if (pid == e->pid) return 1; /* Found */ }