Fix: tracepoint listing misses last loaded probe
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 23 Oct 2015 21:17:43 +0000 (17:17 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 23 Oct 2015 21:35:46 +0000 (17:35 -0400)
commita1031097400268ccb8e02855da46a1efeb88ecdc
tree424e86f1441393562cafd630ab7089c0534af9a5
parent0aaa722073d030aad363e70d815c2508e273c570
Fix: tracepoint listing misses last loaded probe

The seqfile iteration listing tracepoints operates on the probe list
directly, without going through the lttng_get_probe_list_head()
accessor which ensures that the lazy list of probes is moved to the
actual list of probes.

This causes an issue when loading a probe and then listing the
tracepoints when no tracing sessions are active: the last probe loaded
is missing from the listing.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-probes.c
This page took 0.026187 seconds and 4 git commands to generate.