Fix: probes should be compared strictly by events metadata
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 9 Feb 2018 21:56:48 +0000 (16:56 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 30 May 2018 08:34:01 +0000 (04:34 -0400)
commit98b73e886719378d507d500058dd4e4d7e5488bf
tree3f7242634aa088d9b1cb74ef95efad16f9b12d6b
parentab95d85d8784a545ff66c2025110829e9b5cb1b8
Fix: probes should be compared strictly by events metadata

Currently, events are compared using names and signatures. Events
with different payloads but identical name and signatures could
lead to corrupted trace because the Session Daemon would consider them
identical and give them the same event ID.

Events should be compared using the name, loglevel, fields and
model_emf_uri to ensure that their respective metadata is the same.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/Makefile.am
src/bin/lttng-sessiond/ust-field-utils.c [new file with mode: 0644]
src/bin/lttng-sessiond/ust-field-utils.h [new file with mode: 0644]
src/bin/lttng-sessiond/ust-registry.c
tests/unit/Makefile.am
This page took 0.025922 seconds and 4 git commands to generate.