Fix: handle backward probe compatibility for application contexts
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 10 Mar 2016 01:05:53 +0000 (20:05 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 10 Mar 2016 01:09:00 +0000 (20:09 -0500)
commitce7352a2d029c4cad9fed5e8288568225366152e
tree90b69c2729c21d05e5cd3ca9c3857cfe3e2ed1b9
parentba1c40c6095cdcb25c9c3be8bd72b09755f1f116
Fix: handle backward probe compatibility for application contexts

Fix segmentation fault of applications built against lttng-ust 2.7,
linked against lttng-ust 2.8-pre when tracing is active. We need to
consider backward ABI compability here, which can be done by using
a dummy context in place of an application context when recording an
event. Basically, application contexts won't be saved into events
generated by a lttng-ust 2.7 probe provider: those will appear as empty
contexts.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-context-provider.c
liblttng-ust/lttng-ring-buffer-client.h
liblttng-ust/lttng-tracer-core.h
This page took 0.0246 seconds and 4 git commands to generate.