projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow tracepoint providers to be compiled with g++
[lttng-ust.git]
/
include
/
lttng
/
tracepoint-event.h
diff --git
a/include/lttng/tracepoint-event.h
b/include/lttng/tracepoint-event.h
index 077eaa0b46d48fcf1baa0d35f4b188246275fd85..4630788c114625c7de68fdcbed122f69568bb63b 100644
(file)
--- a/
include/lttng/tracepoint-event.h
+++ b/
include/lttng/tracepoint-event.h
@@
-20,12
+20,12
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
+#ifdef TRACEPOINT_CREATE_PROBES
+
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
extern "C" {
#endif
-#ifdef TRACEPOINT_CREATE_PROBES
-
#define __tp_stringify1(x) #x
#define __tp_stringify(x) __tp_stringify1(x)
#define __tp_stringify1(x) #x
#define __tp_stringify(x) __tp_stringify1(x)
@@
-65,10
+65,10
@@
extern "C" {
#undef TRACEPOINT_INCLUDE_FILE
#undef TRACEPOINT_INCLUDE
#undef TRACEPOINT_INCLUDE_FILE
#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_CREATE_PROBES
-
-#endif /* TRACEPOINT_CREATE_PROBES */
-
#ifdef __cplusplus
}
#endif
#ifdef __cplusplus
}
#endif
+
+#define TRACEPOINT_CREATE_PROBES
+
+#endif /* TRACEPOINT_CREATE_PROBES */
This page took
0.025217 seconds
and
4
git commands to generate.