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:36:10 +0000 (17:36 -0400)
commite7261e0ee0e2ef2f2aea1c02294201e444fc42a4
treee0124b5f5a36d19c4a19ab7c06ba99d812d6330b
parentfe2ebb3d5c4ffbbe3a04cfba2e357c63617cbf83
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.025456 seconds and 4 git commands to generate.