Support c++ tracepoint instrumentation
[ust.git] / tests / hello / ust_tests_hello.h
index 9f6ab9b8ca8f8adf7d20e8e4a67559c835dfaafa..9d78b5dacf42430109a5bdb62f88817478e3a7aa 100644 (file)
@@ -4,6 +4,10 @@
 #if !defined(_TRACEPOINT_UST_TESTS_HELLO_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
 #define _TRACEPOINT_UST_TESTS_HELLO_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /*
  * Copyright (C) 2011  Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  *
@@ -60,3 +64,7 @@ TRACEPOINT_EVENT_NOARGS(ust_tests_hello_tptest_sighandler,
 
 /* This part must be outside protection */
 #include <ust/tracepoint-event.h>
+
+#ifdef __cplusplus 
+}
+#endif
This page took 0.021855 seconds and 4 git commands to generate.