Fix: pid tracker should track "pgid" for noargs probes
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 15 May 2018 21:51:24 +0000 (17:51 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 15 May 2018 21:53:08 +0000 (17:53 -0400)
commit103c35ac4067997fd1324f078cf4a813f48142a6
treeb4e08016eeb02e64833344d668ce1d64d0384d41
parent50f48712d7d32a8d6e67b8f18f4f5559df24b5cc
Fix: pid tracker should track "pgid" for noargs probes

The "pid" notion exposed by LTTng translates to the "pgid" notion in the
Linux kernel. Therefore using "current->pid" as argument to the PID
tracker actually ends up behaving as a "tid" tracker, which does not
match the intent nor the user-space tracer behavior.

The probes taking arguments were fixed by a prior commit, but it missed
probes without arguments.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
probes/lttng-tracepoint-event-impl.h
This page took 0.025432 seconds and 4 git commands to generate.