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:05 +0000 (17:53 -0400)
commit4c517fb46949a6dfcaf73fa2131b730432ac640b
tree6d4e2ebc7a03fde1fabea156261c5e83391dd25f
parente9e8e7c06cb26bc8c512ee7aeb49b5d5c9d20214
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.025246 seconds and 4 git commands to generate.