Fix: sessiond: invalid session configuration on EXCLUDE_ALL policy
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 7 Apr 2020 04:14:00 +0000 (00:14 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 7 Apr 2020 14:24:22 +0000 (10:24 -0400)
commit88ac6301cdac33a296e0ba999d75a046b95752b0
treedbf9d1a68ec344bdb03d3ae6dd92e7a005f9589f
parent9604bd17bfb1f116b6d4e56ab1d95e08cde17a06
Fix: sessiond: invalid session configuration on EXCLUDE_ALL policy

Saving a session with a process attribute tracker that uses the
`EXCLUDE_ALL` policy results in an invalid session configuration.

Currently, a tracker of the following form is produced:
<process_attr_values>
  <vpid/>
</process_attr_values>

This is invalid as per the XSD as 'vpid' is not a list; it is an
individual tracked attribute.

The appropriate '<process_attr_values/>' empty node is now produced.

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