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:05 +0000 (15:51 -0400)
commita7eb2e3d0a4beb1ee80b132927641dd05ef2d542
tree4e151d41c0886522bd199ea364b0de69820d914f
parentc312bda00d2dc10ce5f6c1189acbefee5c6c8c6c
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.02674 seconds and 4 git commands to generate.