projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: getcpu build with modern uClibc versions
[lttng-ust.git]
/
liblttng-ust
/
probes
/
lttng-probe-ust.h
diff --git
a/liblttng-ust/probes/lttng-probe-ust.h
b/liblttng-ust/probes/lttng-probe-ust.h
index c8525fd92c3c743e090b8a9e3e2d547723dd63b2..1c55ccd74c8a7a2a60bbf18d51a71031880363e1 100644
(file)
--- a/
liblttng-ust/probes/lttng-probe-ust.h
+++ b/
liblttng-ust/probes/lttng-probe-ust.h
@@
-1,5
+1,5
@@
-#undef TRACEPOINT_
SYSTEM
-#define TRACEPOINT_
SYSTEM
lttng_ust
+#undef TRACEPOINT_
PROVIDER
+#define TRACEPOINT_
PROVIDER
lttng_ust
#if !defined(_TRACEPOINT_LTTNG_UST_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define _TRACEPOINT_LTTNG_UST_H
#if !defined(_TRACEPOINT_LTTNG_UST_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define _TRACEPOINT_LTTNG_UST_H
@@
-24,11
+24,9
@@
#include <lttng/tracepoint.h>
#include <lttng/tracepoint.h>
-TRACEPOINT_EVENT(lttng, metadata,
+TRACEPOINT_EVENT(lttng
_ust
, metadata,
- TP_PROTO(const char *str),
-
- TP_VARS(str),
+ TP_ARGS(const char *, str),
/*
* Not exactly a string: more a sequence of bytes (dynamic
/*
* Not exactly a string: more a sequence of bytes (dynamic
@@
-40,12
+38,10
@@
TRACEPOINT_EVENT(lttng, metadata,
)
)
)
)
-#undef TRACEPOINT_INCLUDE_PATH
-#define TRACEPOINT_INCLUDE_PATH ./probes
#undef TRACEPOINT_INCLUDE_FILE
#undef TRACEPOINT_INCLUDE_FILE
-#define TRACEPOINT_INCLUDE_FILE
lttng-probe-ust
+#define TRACEPOINT_INCLUDE_FILE
./probes/lttng-probe-ust.h
#endif /* _TRACEPOINT_LTTNG_UST_H */
#endif /* _TRACEPOINT_LTTNG_UST_H */
-/* This part must be outside protection */
+/* This part must be outside
ifdef
protection */
#include <lttng/tracepoint-event.h>
#include <lttng/tracepoint-event.h>
This page took
0.029849 seconds
and
4
git commands to generate.