Fix: trace-collection: trace clock use after free
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 5 Dec 2019 06:58:05 +0000 (01:58 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 13 Dec 2019 01:02:17 +0000 (20:02 -0500)
The trace collection should copy the trace clock object rather
than take a reference to the first trace's trace clock, because
it may be freed when the trace is removed (e.g. application going
away in per-pid live tracing).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

No differences found
This page took 0.025726 seconds and 4 git commands to generate.