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:51:24 +0000 (17:51 -0400)
commit3980750d0727154b271c416f562782ffd8710c84
tree5d34820d17c3e6d7fcc0ec9160aab80f034962f9
parent4b691a7da344d131db8786135f60ddca95956457
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.027506 seconds and 4 git commands to generate.