Fix: multiple providers in same C file failure
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 10 Jun 2014 16:17:08 +0000 (12:17 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 10 Jun 2014 16:22:15 +0000 (12:22 -0400)
commita57713b01d6da30f52bfd564b279e7b3901ecdc9
tree448e5a1e7c01e590e7697e2fd53958409f94d468
parentdedd438261a6abc7a962dc17d482d0fcc5e45508
Fix: multiple providers in same C file failure

If we have a C file in an application that is meant to contain both the
instrumentation and the provider, build fails if we have more than one
provider.

Fixed by putting back definitions to the state they were when defined by
tracepoint.h after a probe provider is created. This allows the next
tracepoint provider to define its tracepoints.

Fixes #805

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/tracepoint-event.h
This page took 0.024954 seconds and 4 git commands to generate.