Fix: tracepoint event: allow same provider and event name
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 4 Apr 2022 19:49:32 +0000 (15:49 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 4 Apr 2022 19:52:19 +0000 (15:52 -0400)
commitad5e2bb2bca506a7640c90cf0a4d40873ef618bf
treea3beb133a664d16222ddd7559b450f327a8efbe9
parenta3f2d33768920bc81db654f4b12be7e244d3cb3f
Fix: tracepoint event: allow same provider and event name

Using the same name for the provider (TRACE_SYSTEM) and event name
causes a compilation error because the same identifiers are emitted
twice.

Fix this by prefixing the provider identifier with
"__provider_event_desc___".

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I8cdf8f859e35b8bd5c19737860d12f1ed546dfc2
probes/lttng-tracepoint-event-impl.h
This page took 0.026077 seconds and 4 git commands to generate.