Document last supported kernel version for stable-2.10 branch
[lttng-modules.git] / probes / lttng-tracepoint-event-impl.h
index 61f1c2d8fb73b5bbc191e219077c6f498adff3be..97f0b3db3add67e7f77ee0b8d6fe4f6ebb85db0c 100644 (file)
@@ -34,6 +34,7 @@
 #include <wrapper/rcu.h>
 #include <lttng-events.h>
 #include <lttng-tracer-core.h>
+#include <lttng-tp-mempool.h>
 
 #define __LTTNG_NULL_STRING    "(null)"
 
@@ -1224,7 +1225,7 @@ static void __event_probe__##_name(void *__data)                        \
        if (unlikely(!READ_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(&lttng_dynamic_len_stack)->offset; \
        __dynamic_len_idx = __orig_dynamic_len_offset;                        \
This page took 0.025698 seconds and 4 git commands to generate.