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:55 +0000 (14:45 -0400)
commit51c611c6ab03407a9ea223c972cbbb62e40c500e
tree5fd02199f69c29168995c250543b2acb1bd8b714
parenta950bfa7ed84b7a4c7a403db83917aaf91b93242
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.026052 seconds and 4 git commands to generate.