From: Mathieu Desnoyers Date: Fri, 16 Sep 2011 23:56:24 +0000 (-0400) Subject: Complete c++ support for instrumentation X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4737566d4d5efaa4665470e2315cb4988d031512;p=ust.git Complete c++ support for instrumentation Signed-off-by: Mathieu Desnoyers --- diff --git a/include/ust/tracepoint-event.h b/include/ust/tracepoint-event.h index aefe506..b4bd59c 100644 --- a/include/ust/tracepoint-event.h +++ b/include/ust/tracepoint-event.h @@ -37,6 +37,10 @@ * searching for a header within your project build tree. */ +#ifdef __cplusplus +extern "C" { +#endif + #ifdef TRACEPOINT_CREATE_PROBES /* Prevent recursion */ @@ -111,3 +115,7 @@ #define TRACEPOINT_CREATE_PROBES #endif /* TRACEPOINT_CREATE_PROBES */ + +#ifdef __cplusplus +} +#endif