Fix: Don't save an empty <contexts> node in kernel channels
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 6 Oct 2014 23:47:19 +0000 (19:47 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 7 Oct 2014 20:46:28 +0000 (16:46 -0400)
commit2aa6405248e70affbc6f131a1e5e77b6141ec2d7
tree495ab99277fa214590d67e8a5c1bad9619d12f7e
parent14ce5bd8eefa248c5abedc32b02394ef74307e81
Fix: Don't save an empty <contexts> node in kernel channels

An empty <contexts/> node is saved when kernel channels are
saved even when no kernel contexts are enabled.

Note that this is a minor fix as the generated XML remains valid
anyhow.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/save.c
This page took 0.030914 seconds and 4 git commands to generate.