projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: regroup automake conditionals
[lttng-ust.git]
/
include
/
lttng
/
ust-tracepoint-event.h
diff --git
a/include/lttng/ust-tracepoint-event.h
b/include/lttng/ust-tracepoint-event.h
index fc327a689d1b777ce57a4f5e26d6faed69e07d2b..9066e495850a7a93a7bedc5b77fa379b1c111e10 100644
(file)
--- a/
include/lttng/ust-tracepoint-event.h
+++ b/
include/lttng/ust-tracepoint-event.h
@@
-11,6
+11,7
@@
#include <urcu/rculist.h>
#include <lttng/ust-events.h>
#include <lttng/ringbuffer-context.h>
#include <urcu/rculist.h>
#include <lttng/ust-events.h>
#include <lttng/ringbuffer-context.h>
+#include <lttng/ust-arch.h>
#include <lttng/ust-compiler.h>
#include <lttng/tracepoint.h>
#include <lttng/ust-endian.h>
#include <lttng/ust-compiler.h>
#include <lttng/tracepoint.h>
#include <lttng/ust-endian.h>
@@
-766,11
+767,11
@@
size_t __event_get_align__##_provider##___##_name(_TP_ARGS_PROTO(_args)) \
#define _TP_IP_PARAM(x) (x)
#else /* TP_IP_PARAM */
#define _TP_IP_PARAM(x) (x)
#else /* TP_IP_PARAM */
-#if defined(
__PPC__) && !defined(__PPC64__
)
+#if defined(
LTTNG_UST_ARCH_PPC) && !defined(LTTNG_UST_ARCH_PPC64
)
#define _TP_IP_PARAM(x) NULL
#define _TP_IP_PARAM(x) NULL
-#else
/* #if defined(__PPC__) && !defined(__PPC64__) */
+#else
#define _TP_IP_PARAM(x) __builtin_return_address(0)
#define _TP_IP_PARAM(x) __builtin_return_address(0)
-#endif
/* #else #if defined(__PPC__) && !defined(__PPC64__) */
+#endif
#endif /* TP_IP_PARAM */
#endif /* TP_IP_PARAM */
This page took
0.023144 seconds
and
4
git commands to generate.