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:51:26 +0000 (15:51 -0400)
commitc680fdeed4f47912fb10f604812d90b37591b5a7
tree451acc22ccada8ccbb1d8ec8f2c66bace3a9a68e
parentceb9ae42eac8030e9e0cf2ca8ae567743353758e
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
include/lttng/tracepoint-event-impl.h
This page took 0.026129 seconds and 4 git commands to generate.