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 18:45:34 +0000 (14:45 -0400)
commit2e99313817b70fe49a644af7c40b335c4449e00e
treec667f6b14ded34a0a9006ea8bb16f0f8d351bf0c
parenta0b75f6cfee839d0f85fab6bb2c0d8e80db5823d
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.026071 seconds and 4 git commands to generate.