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)
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>

No differences found
This page took 0.029886 seconds and 4 git commands to generate.