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:23:16 +0000 (12:23 -0400)
commita6e092cc2d7eed95dfbec5bef7d23eea9ee30baf
tree6ffef36fa53fea225f00f2cde92246953dc26c0b
parent08e7bdfb4957084a0cbf139867f009dc770ed4c4
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.024876 seconds and 4 git commands to generate.