projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Don't (re)define STAP_PROBEV
[lttng-ust.git]
/
include
/
lttng
/
tracepoint.h
diff --git
a/include/lttng/tracepoint.h
b/include/lttng/tracepoint.h
index 4bc4fc9e4446db05feeecbe1a5d9d09e9df87ab9..e88db89242750c591909fb56ae912eb6cc670ff3 100644
(file)
--- a/
include/lttng/tracepoint.h
+++ b/
include/lttng/tracepoint.h
@@
-37,8
+37,9
@@
#ifdef LTTNG_UST_HAVE_SDT_INTEGRATION
#define SDT_USE_VARIADIC
#include <sys/sdt.h>
#ifdef LTTNG_UST_HAVE_SDT_INTEGRATION
#define SDT_USE_VARIADIC
#include <sys/sdt.h>
+#define LTTNG_STAP_PROBEV STAP_PROBEV
#else
#else
-#define STAP_PROBEV(...)
+#define
LTTNG_
STAP_PROBEV(...)
#endif
#ifdef __cplusplus
#endif
#ifdef __cplusplus
@@
-53,7
+54,7
@@
extern "C" {
#define tracepoint(provider, name, ...) \
do { \
#define tracepoint(provider, name, ...) \
do { \
-
STAP_PROBEV(provider, name, ## __VA_ARGS__);
\
+
LTTNG_STAP_PROBEV(provider, name, ## __VA_ARGS__);
\
if (tracepoint_enabled(provider, name)) \
do_tracepoint(provider, name, __VA_ARGS__); \
} while (0)
if (tracepoint_enabled(provider, name)) \
do_tracepoint(provider, name, __VA_ARGS__); \
} while (0)
This page took
0.024906 seconds
and
4
git commands to generate.