Re: [lttng-dev] [PATCH lttng-tools 1/5] Fix: probes should not be compared by their names and callsite signatures

2018-02-08 Thread Francis Deslauriers
2018-02-07 15:43 GMT-05:00 Mathieu Desnoyers : > - On Feb 7, 2018, at 2:36 PM, Francis Deslauriers > francis.deslauri...@efficios.com wrote: > >> Events with different payloads but identical name and signatures could >> lead to corrupted trace as the Session

Re: [lttng-dev] [PATCH lttng-tools 1/5] Fix: probes should not be compared by their names and callsite signatures

2018-02-07 Thread Mathieu Desnoyers
- On Feb 7, 2018, at 2:36 PM, Francis Deslauriers francis.deslauri...@efficios.com wrote: > Events with different payloads but identical name and signatures could > lead to corrupted trace as the Session Daemon would consider them > identical and give them the same event ID. > > Events

[lttng-dev] [PATCH lttng-tools 1/5] Fix: probes should not be compared by their names and callsite signatures

2018-02-07 Thread Francis Deslauriers
Events with different payloads but identical name and signatures could lead to corrupted trace as 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 serialized layout