Support c++ tracepoint instrumentation
[ust.git] / include / ust / ust.h
index 16cd475cd2ad72988128d181aa0e6caf42cd6159..593598b42dc27a7ba599426ad5f2567bd35b31c3 100644 (file)
 #ifndef _UST_H
 #define _UST_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef struct ust_fork_info {
        sigset_t orig_sigs;
 } ust_fork_info_t;
@@ -28,4 +32,8 @@ extern void ust_before_fork(ust_fork_info_t *fork_info);
 extern void ust_after_fork_parent(ust_fork_info_t *fork_info);
 extern void ust_after_fork_child(ust_fork_info_t *fork_info);
 
+#ifdef __cplusplus 
+}
+#endif
+
 #endif /* _UST_H */
This page took 0.022124 seconds and 4 git commands to generate.