projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: Use negative value for error code of lttng_ust_ctl_duplicate_ust_object_data
[lttng-ust.git]
/
src
/
lib
/
lttng-ust-pthread-wrapper
/
ust_pthread.h
diff --git
a/src/lib/lttng-ust-pthread-wrapper/ust_pthread.h
b/src/lib/lttng-ust-pthread-wrapper/ust_pthread.h
index d22eab2e0555ea1d3ceaac1b84bf8d8eb912dad5..c5d50328d3c565261dbef3fe40e12966e2e687a5 100644
(file)
--- a/
src/lib/lttng-ust-pthread-wrapper/ust_pthread.h
+++ b/
src/lib/lttng-ust-pthread-wrapper/ust_pthread.h
@@
-4,10
+4,10
@@
* Copyright (C) 2013 Mentor Graphics
*/
* Copyright (C) 2013 Mentor Graphics
*/
-#undef TRACEPOINT_PROVIDER
-#define TRACEPOINT_PROVIDER lttng_ust_pthread
+#undef
LTTNG_UST_
TRACEPOINT_PROVIDER
+#define
LTTNG_UST_
TRACEPOINT_PROVIDER lttng_ust_pthread
-#if !defined(_TRACEPOINT_UST_PTHREAD_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
+#if !defined(_TRACEPOINT_UST_PTHREAD_H) || defined(
LTTNG_UST_
TRACEPOINT_HEADER_MULTI_READ)
#define _TRACEPOINT_UST_PTHREAD_H
#ifdef __cplusplus
#define _TRACEPOINT_UST_PTHREAD_H
#ifdef __cplusplus
@@
-16,45
+16,45
@@
extern "C" {
#include <lttng/tracepoint.h>
#include <lttng/tracepoint.h>
-TRACEPOINT_EVENT(lttng_ust_pthread, pthread_mutex_lock_req,
+
LTTNG_UST_
TRACEPOINT_EVENT(lttng_ust_pthread, pthread_mutex_lock_req,
LTTNG_UST_TP_ARGS(pthread_mutex_t *, mutex, void *, ip),
LTTNG_UST_TP_FIELDS(
LTTNG_UST_TP_ARGS(pthread_mutex_t *, mutex, void *, ip),
LTTNG_UST_TP_FIELDS(
-
ctf
_integer_hex(void *, mutex, mutex)
-
ctf
_unused(ip)
+
lttng_ust_field
_integer_hex(void *, mutex, mutex)
+
lttng_ust_field
_unused(ip)
)
)
)
)
-TRACEPOINT_EVENT(lttng_ust_pthread, pthread_mutex_lock_acq,
+
LTTNG_UST_
TRACEPOINT_EVENT(lttng_ust_pthread, pthread_mutex_lock_acq,
LTTNG_UST_TP_ARGS(pthread_mutex_t *, mutex, int, status, void *, ip),
LTTNG_UST_TP_FIELDS(
LTTNG_UST_TP_ARGS(pthread_mutex_t *, mutex, int, status, void *, ip),
LTTNG_UST_TP_FIELDS(
-
ctf
_integer_hex(void *, mutex, mutex)
-
ctf
_integer(int, status, status)
-
ctf
_unused(ip)
+
lttng_ust_field
_integer_hex(void *, mutex, mutex)
+
lttng_ust_field
_integer(int, status, status)
+
lttng_ust_field
_unused(ip)
)
)
)
)
-TRACEPOINT_EVENT(lttng_ust_pthread, pthread_mutex_trylock,
+
LTTNG_UST_
TRACEPOINT_EVENT(lttng_ust_pthread, pthread_mutex_trylock,
LTTNG_UST_TP_ARGS(pthread_mutex_t *, mutex, int, status, void *, ip),
LTTNG_UST_TP_FIELDS(
LTTNG_UST_TP_ARGS(pthread_mutex_t *, mutex, int, status, void *, ip),
LTTNG_UST_TP_FIELDS(
-
ctf
_integer_hex(void *, mutex, mutex)
-
ctf
_integer(int, status, status)
-
ctf
_unused(ip)
+
lttng_ust_field
_integer_hex(void *, mutex, mutex)
+
lttng_ust_field
_integer(int, status, status)
+
lttng_ust_field
_unused(ip)
)
)
)
)
-TRACEPOINT_EVENT(lttng_ust_pthread, pthread_mutex_unlock,
+
LTTNG_UST_
TRACEPOINT_EVENT(lttng_ust_pthread, pthread_mutex_unlock,
LTTNG_UST_TP_ARGS(pthread_mutex_t *, mutex, int, status, void *, ip),
LTTNG_UST_TP_FIELDS(
LTTNG_UST_TP_ARGS(pthread_mutex_t *, mutex, int, status, void *, ip),
LTTNG_UST_TP_FIELDS(
-
ctf
_integer_hex(void *, mutex, mutex)
-
ctf
_integer(int, status, status)
-
ctf
_unused(ip)
+
lttng_ust_field
_integer_hex(void *, mutex, mutex)
+
lttng_ust_field
_integer(int, status, status)
+
lttng_ust_field
_unused(ip)
)
)
#endif /* _TRACEPOINT_UST_PTHREAD_H */
)
)
#endif /* _TRACEPOINT_UST_PTHREAD_H */
-#undef TRACEPOINT_INCLUDE
-#define TRACEPOINT_INCLUDE "./ust_pthread.h"
+#undef
LTTNG_UST_
TRACEPOINT_INCLUDE
+#define
LTTNG_UST_
TRACEPOINT_INCLUDE "./ust_pthread.h"
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
This page took
0.025924 seconds
and
4
git commands to generate.