projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support c++ tracepoint instrumentation
[ust.git]
/
include
/
ust
/
ust.h
diff --git
a/include/ust/ust.h
b/include/ust/ust.h
index 16cd475cd2ad72988128d181aa0e6caf42cd6159..593598b42dc27a7ba599426ad5f2567bd35b31c3 100644
(file)
--- a/
include/ust/ust.h
+++ b/
include/ust/ust.h
@@
-20,6
+20,10
@@
#ifndef _UST_H
#define _UST_H
#ifndef _UST_H
#define _UST_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct ust_fork_info {
sigset_t orig_sigs;
} ust_fork_info_t;
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);
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 */
#endif /* _UST_H */
This page took
0.02356 seconds
and
4
git commands to generate.