From: Francis Deslauriers Date: Thu, 5 Jul 2018 22:14:54 +0000 (-0400) Subject: Fix: lttng-save command producing wrong XML fields X-Git-Tag: v2.10.6~45 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=ae4cc5435da067050f2d668506893c0aad63ce19;hp=ae4cc5435da067050f2d668506893c0aad63ce19;p=lttng-tools.git Fix: lttng-save command producing wrong XML fields Saving a session configuration with a probe or a function event would generate a XML file considered invalid by the lttng-load command. This is due to the fact that for a probe event lttng-save would the following xml event type field: KPROBE but lttng-load command would be expecting the following field: PROBE. As a fix, the lttng-save command now rightfully outputs the PROBE field. Given that this usecase never worked, changing the field is not a breaking change. Also, the save command was wrongfully using FUNCTION xml event type for the LTTNG_KERNEL_FUNCTION event type when it is in fact the FUNCTION_ENTRY xml event type. Signed-off-by: Francis Deslauriers Signed-off-by: Jérémie Galarneau ---