X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-tracepoint-event-impl.h;h=7ec0d757e62bc75abaa4a6b39b4cec73b924ba2d;hb=69dba5101ba45567167ee30c6236baa33d4ddd0d;hp=cd7af77639945f3326729fe6a84ea2e038d5fd67;hpb=65244d5ab362a5ddc9147c9d0df54b4bb4fb574b;p=lttng-modules.git diff --git a/probes/lttng-tracepoint-event-impl.h b/probes/lttng-tracepoint-event-impl.h index cd7af776..7ec0d757 100644 --- a/probes/lttng-tracepoint-event-impl.h +++ b/probes/lttng-tracepoint-event-impl.h @@ -1150,7 +1150,7 @@ static void __event_probe__##_name(void *__data, _proto) \ if (unlikely(!ACCESS_ONCE(__event->enabled))) \ return; \ __lpf = lttng_rcu_dereference(__session->pid_tracker); \ - if (__lpf && likely(!lttng_pid_tracker_lookup(__lpf, current->pid))) \ + if (__lpf && likely(!lttng_pid_tracker_lookup(__lpf, current->tgid))) \ return; \ __orig_dynamic_len_offset = this_cpu_ptr(<tng_dynamic_len_stack)->offset; \ __dynamic_len_idx = __orig_dynamic_len_offset; \