LTTNG_UST_TRACEPOINT_EVENT(ust_tests_demo, starting,
LTTNG_UST_TP_ARGS(int, value),
LTTNG_UST_TP_FIELDS(
- ctf_integer(int, value, value)
+ lttng_ust_field_integer(int, value, value)
)
)
LTTNG_UST_TRACEPOINT_LOGLEVEL(ust_tests_demo, starting, LTTNG_UST_TRACEPOINT_LOGLEVEL_CRIT)
LTTNG_UST_TRACEPOINT_EVENT(ust_tests_demo, done,
LTTNG_UST_TP_ARGS(int, value),
LTTNG_UST_TP_FIELDS(
- ctf_integer(int, value, value)
+ lttng_ust_field_integer(int, value, value)
)
)
LTTNG_UST_TRACEPOINT_LOGLEVEL(ust_tests_demo, done, LTTNG_UST_TRACEPOINT_LOGLEVEL_CRIT)
char *, text, size_t, textlen,
double, doublearg, float, floatarg),
LTTNG_UST_TP_FIELDS(
- ctf_integer(int, intfield, anint)
- ctf_integer_hex(int, intfield2, anint)
- ctf_integer(long, longfield, anint)
- ctf_integer_network(int, netintfield, netint)
- ctf_integer_network_hex(int, netintfieldhex, netint)
+ lttng_ust_field_integer(int, intfield, anint)
+ lttng_ust_field_integer_hex(int, intfield2, anint)
+ lttng_ust_field_integer(long, longfield, anint)
+ lttng_ust_field_integer_network(int, netintfield, netint)
+ lttng_ust_field_integer_network_hex(int, netintfieldhex, netint)
ctf_array(long, arrfield1, values, 3)
ctf_array_text(char, arrfield2, text, 10)
ctf_sequence(char, seqfield1, text,
LTTNG_UST_TRACEPOINT_EVENT(ust_tests_demo3, done,
LTTNG_UST_TP_ARGS(int, value),
LTTNG_UST_TP_FIELDS(
- ctf_integer(int, value, value)
+ lttng_ust_field_integer(int, value, value)
)
)
LTTNG_UST_TRACEPOINT_LOGLEVEL(ust_tests_demo3, done, LTTNG_UST_TRACEPOINT_LOGLEVEL_WARNING)
char *, text, size_t, textlen,
double, doublearg, float, floatarg),
LTTNG_UST_TP_FIELDS(
- ctf_integer(int, intfield, anint)
- ctf_integer_hex(int, intfield2, anint)
- ctf_integer(long, longfield, anint)
- ctf_integer_network(int, netintfield, netint)
- ctf_integer_network_hex(int, netintfieldhex, netint)
+ lttng_ust_field_integer(int, intfield, anint)
+ lttng_ust_field_integer_hex(int, intfield2, anint)
+ lttng_ust_field_integer(long, longfield, anint)
+ lttng_ust_field_integer_network(int, netintfield, netint)
+ lttng_ust_field_integer_network_hex(int, netintfieldhex, netint)
ctf_array(long, arrfield1, values, 3)
ctf_array_text(char, arrfield2, text, 10)
ctf_sequence(char, seqfield1, text,
LTTNG_UST_TP_ARGS(const char *, file, int, line, const char *, func,
const char *, msg, unsigned int, len, void *, ip),
LTTNG_UST_TP_FIELDS(
- ctf_integer(int, line, line)
+ lttng_ust_field_integer(int, line, line)
ctf_string(file, file)
ctf_string(func, func)
ctf_sequence_text(char, msg, msg, unsigned int, len)
#define tracepoint_enabled lttng_ust_tracepoint_enabled
#define TP_ARGS LTTNG_UST_TP_ARGS
#define TP_FIELDS LTTNG_UST_TP_FIELDS
+
+#define ctf_integer lttng_ust_field_integer
+#define ctf_integer_hex lttng_ust_field_integer_hex
+#define ctf_integer_network lttng_ust_field_integer_network
+#define ctf_integer_network_hex lttng_ust_field_integer_network_hex
+#define ctf_integer_nowrite lttng_ust_field_integer_nowrite
#endif /* #if LTTNG_UST_COMPAT_API(0) */
#ifdef __cplusplus
*
* LTTNG_UST_TP_FIELDS(
* * Integer, printed in base 10 *
- * ctf_integer(int, field_a, arg0)
+ * lttng_ust_field_integer(int, field_a, arg0)
*
* * Integer, printed with 0x base 16 *
- * ctf_integer_hex(unsigned long, field_d, arg1)
+ * lttng_ust_field_integer_hex(unsigned long, field_d, arg1)
*
* * Enumeration *
* ctf_enum(someproject_component, enum_name, int, field_e, arg0)
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*/
-#undef ctf_integer_nowrite
-#define ctf_integer_nowrite(_type, _item, _src) \
- _ctf_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 10, 1)
+#undef lttng_ust_field_integer_nowrite
+#define lttng_ust_field_integer_nowrite(_type, _item, _src) \
+ lttng_ust__field_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 10, 1)
#undef ctf_float_nowrite
#define ctf_float_nowrite(_type, _item, _src) \
#undef LTTNG_UST_TRACEPOINT_MODEL_EMF_URI
#define LTTNG_UST_TRACEPOINT_MODEL_EMF_URI(provider, name, uri)
-#undef _ctf_integer_ext
-#define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, \
+#undef lttng_ust__field_integer_ext
+#define lttng_ust__field_integer_ext(_type, _item, _src, _byte_order, _base, \
_nowrite)
#undef _ctf_float
#define _ctf_enum(_provider, _name, _type, _item, _src, _nowrite)
/* "write" */
-#undef ctf_integer
-#define ctf_integer(_type, _item, _src)
+#undef lttng_ust_field_integer
+#define lttng_ust_field_integer(_type, _item, _src)
-#undef ctf_integer_hex
-#define ctf_integer_hex(_type, _item, _src)
+#undef lttng_ust_field_integer_hex
+#define lttng_ust_field_integer_hex(_type, _item, _src)
-#undef ctf_integer_network
-#define ctf_integer_network(_type, _item, _src)
+#undef lttng_ust_field_integer_network
+#define lttng_ust_field_integer_network(_type, _item, _src)
-#undef ctf_integer_network_hex
-#define ctf_integer_network_hex(_type, _item, _src)
+#undef lttng_ust_field_integer_network_hex
+#define lttng_ust_field_integer_network_hex(_type, _item, _src)
#undef ctf_float
#define ctf_float(_type, _item, _src)
#define ctf_enum(_provider, _name, _type, _item, _src)
/* "nowrite" */
-#undef ctf_integer_nowrite
-#define ctf_integer_nowrite(_type, _item, _src)
+#undef lttng_ust_field_integer_nowrite
+#define lttng_ust_field_integer_nowrite(_type, _item, _src)
#undef ctf_float_nowrite
#define ctf_float_nowrite(_type, _item, _src)
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*/
-#undef ctf_integer
-#define ctf_integer(_type, _item, _src) \
- _ctf_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 10, 0)
+#undef lttng_ust_field_integer
+#define lttng_ust_field_integer(_type, _item, _src) \
+ lttng_ust__field_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 10, 0)
-#undef ctf_integer_hex
-#define ctf_integer_hex(_type, _item, _src) \
- _ctf_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 16, 0)
+#undef lttng_ust_field_integer_hex
+#define lttng_ust_field_integer_hex(_type, _item, _src) \
+ lttng_ust__field_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 16, 0)
-#undef ctf_integer_network
-#define ctf_integer_network(_type, _item, _src) \
- _ctf_integer_ext(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, 10, 0)
+#undef lttng_ust_field_integer_network
+#define lttng_ust_field_integer_network(_type, _item, _src) \
+ lttng_ust__field_integer_ext(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, 10, 0)
-#undef ctf_integer_network_hex
-#define ctf_integer_network_hex(_type, _item, _src) \
- _ctf_integer_ext(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, 16, 0)
+#undef lttng_ust_field_integer_network_hex
+#define lttng_ust_field_integer_network_hex(_type, _item, _src) \
+ lttng_ust__field_integer_ext(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, 16, 0)
#undef ctf_float
#define ctf_float(_type, _item, _src) \
#include <lttng/ust-tracepoint-event-write.h>
#include <lttng/ust-tracepoint-event-nowrite.h>
-#undef _ctf_integer_ext
-#define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, _nowrite) \
+#undef lttng_ust__field_integer_ext
+#define lttng_ust__field_integer_ext(_type, _item, _src, _byte_order, _base, _nowrite) \
LTTNG_UST_COMPOUND_LITERAL(const struct lttng_ust_event_field, { \
.struct_size = sizeof(struct lttng_ust_event_field), \
.name = #_item, \
#define LTTNG_UST__TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) \
static const struct lttng_ust_event_field * const lttng_ust__event_fields___##_provider##___##_name[] = { \
_fields \
- ctf_integer(int, dummy, 0) /* Dummy, C99 forbids 0-len array. */ \
+ lttng_ust_field_integer(int, dummy, 0) /* Dummy, C99 forbids 0-len array. */ \
};
#undef LTTNG_UST_TRACEPOINT_ENUM
#include <lttng/ust-tracepoint-event-reset.h>
#include <lttng/ust-tracepoint-event-write.h>
-#undef _ctf_integer_ext
-#define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, _nowrite) \
+#undef lttng_ust__field_integer_ext
+#define lttng_ust__field_integer_ext(_type, _item, _src, _byte_order, _base, _nowrite) \
if (0) \
(void) (_src); /* Unused */ \
__event_len += lttng_ust_ring_buffer_align(__event_len, lttng_ust_rb_alignof(_type)); \
#undef _ctf_enum
#define _ctf_enum(_provider, _name, _type, _item, _src, _nowrite) \
- _ctf_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 10, _nowrite)
+ lttng_ust__field_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 10, _nowrite)
#undef LTTNG_UST_TP_ARGS
#define LTTNG_UST_TP_ARGS(...) __VA_ARGS__
#include <lttng/ust-tracepoint-event-write.h>
#include <lttng/ust-tracepoint-event-nowrite.h>
-#undef _ctf_integer_ext
-#define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, _nowrite) \
+#undef lttng_ust__field_integer_ext
+#define lttng_ust__field_integer_ext(_type, _item, _src, _byte_order, _base, _nowrite) \
if (lttng_ust_is_signed_type(_type)) { \
int64_t __ctf_tmp_int64; \
switch (sizeof(_type)) { \
#undef _ctf_enum
#define _ctf_enum(_provider, _name, _type, _item, _src, _nowrite) \
- _ctf_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 10, _nowrite)
+ lttng_ust__field_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 10, _nowrite)
#undef LTTNG_UST_TP_ARGS
#define LTTNG_UST_TP_ARGS(...) __VA_ARGS__
#include <lttng/ust-tracepoint-event-reset.h>
#include <lttng/ust-tracepoint-event-write.h>
-#undef _ctf_integer_ext
-#define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, _nowrite) \
+#undef lttng_ust__field_integer_ext
+#define lttng_ust__field_integer_ext(_type, _item, _src, _byte_order, _base, _nowrite) \
if (0) \
(void) (_src); /* Unused */ \
lttng_ust__event_align = lttng_ust__tp_max_t(size_t, lttng_ust__event_align, lttng_ust_rb_alignof(_type));
#undef _ctf_enum
#define _ctf_enum(_provider, _name, _type, _item, _src, _nowrite) \
- _ctf_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 10, _nowrite)
+ lttng_ust__field_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 10, _nowrite)
#undef LTTNG_UST_TP_ARGS
#define LTTNG_UST_TP_ARGS(...) __VA_ARGS__
#include <lttng/ust-tracepoint-event-reset.h>
#include <lttng/ust-tracepoint-event-write.h>
-#undef _ctf_integer_ext
-#define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, _nowrite) \
+#undef lttng_ust__field_integer_ext
+#define lttng_ust__field_integer_ext(_type, _item, _src, _byte_order, _base, _nowrite) \
{ \
_type __tmp = (_src); \
__chan->ops->event_write(&__ctx, &__tmp, sizeof(__tmp), lttng_ust_rb_alignof(__tmp));\
#undef _ctf_enum
#define _ctf_enum(_provider, _name, _type, _item, _src, _nowrite) \
- _ctf_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 10, _nowrite)
+ lttng_ust__field_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 10, _nowrite)
/* Beware: this get len actually consumes the len value */
#undef lttng_ust__get_dynamic_len
LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast, func_entry,
LTTNG_UST_TP_ARGS(void *, func_addr),
LTTNG_UST_TP_FIELDS(
- ctf_integer_hex(unsigned long, addr,
+ lttng_ust_field_integer_hex(unsigned long, addr,
(unsigned long) func_addr)
)
)
LTTNG_UST_TRACEPOINT_EVENT_CLASS(lttng_ust_cyg_profile, func_class,
LTTNG_UST_TP_ARGS(void *, func_addr, void *, call_site),
LTTNG_UST_TP_FIELDS(
- ctf_integer_hex(unsigned long, addr,
+ lttng_ust_field_integer_hex(unsigned long, addr,
(unsigned long) func_addr)
- ctf_integer_hex(unsigned long, call_site,
+ lttng_ust_field_integer_hex(unsigned long, call_site,
(unsigned long) call_site)
)
)
uint8_t, has_debug_link),
LTTNG_UST_TP_FIELDS(
ctf_unused(ip)
- ctf_integer_hex(void *, baddr, baddr)
- ctf_integer(uint64_t, memsz, memsz)
- ctf_integer_hex(int, flags, flags)
+ lttng_ust_field_integer_hex(void *, baddr, baddr)
+ lttng_ust_field_integer(uint64_t, memsz, memsz)
+ lttng_ust_field_integer_hex(int, flags, flags)
ctf_string(path, path)
- ctf_integer(uint8_t, has_build_id, has_build_id)
- ctf_integer(uint8_t, has_debug_link, has_debug_link)
+ lttng_ust_field_integer(uint8_t, has_build_id, has_build_id)
+ lttng_ust_field_integer(uint8_t, has_debug_link, has_debug_link)
)
)
uint8_t, has_debug_link),
LTTNG_UST_TP_FIELDS(
ctf_unused(ip)
- ctf_integer_hex(void *, baddr, baddr)
- ctf_integer(uint64_t, memsz, memsz)
- ctf_integer(Lmid_t, nsid, nsid)
- ctf_integer_hex(int, flags, flags)
+ lttng_ust_field_integer_hex(void *, baddr, baddr)
+ lttng_ust_field_integer(uint64_t, memsz, memsz)
+ lttng_ust_field_integer(Lmid_t, nsid, nsid)
+ lttng_ust_field_integer_hex(int, flags, flags)
ctf_string(path, path)
- ctf_integer(uint8_t, has_build_id, has_build_id)
- ctf_integer(uint8_t, has_debug_link, has_debug_link)
+ lttng_ust_field_integer(uint8_t, has_build_id, has_build_id)
+ lttng_ust_field_integer(uint8_t, has_debug_link, has_debug_link)
)
)
#endif
),
LTTNG_UST_TP_FIELDS(
ctf_unused(ip)
- ctf_integer_hex(void *, baddr, baddr)
+ lttng_ust_field_integer_hex(void *, baddr, baddr)
ctf_sequence_hex(uint8_t, build_id, build_id,
size_t, build_id_len)
)
),
LTTNG_UST_TP_FIELDS(
ctf_unused(ip)
- ctf_integer_hex(void *, baddr, baddr)
- ctf_integer(uint32_t, crc, crc)
+ lttng_ust_field_integer_hex(void *, baddr, baddr)
+ lttng_ust_field_integer(uint32_t, crc, crc)
ctf_string(filename, filename)
)
)
LTTNG_UST_TP_ARGS(void *, ip, void *, baddr),
LTTNG_UST_TP_FIELDS(
ctf_unused(ip)
- ctf_integer_hex(void *, baddr, baddr)
+ lttng_ust_field_integer_hex(void *, baddr, baddr)
)
)
ctf_string(logger_name, logger_name)
ctf_string(class_name, class_name)
ctf_string(method_name, method_name)
- ctf_integer(long, long_millis, millis)
- ctf_integer(int, int_loglevel, log_level)
- ctf_integer(int, int_threadid, thread_id)
+ lttng_ust_field_integer(long, long_millis, millis)
+ lttng_ust_field_integer(int, int_loglevel, log_level)
+ lttng_ust_field_integer(int, int_threadid, thread_id)
)
)
ctf_string(class_name, class_name)
ctf_string(method_name, method_name)
ctf_string(filename, file_name)
- ctf_integer(int, line_number, line_number)
- ctf_integer(long, timestamp, timestamp)
- ctf_integer(int, int_loglevel, log_level)
+ lttng_ust_field_integer(int, line_number, line_number)
+ lttng_ust_field_integer(long, timestamp, timestamp)
+ lttng_ust_field_integer(int, int_loglevel, log_level)
ctf_string(thread_name, thread_name)
)
)
LTTNG_UST_TP_ARGS(const char *, name, int, payload),
LTTNG_UST_TP_FIELDS(
ctf_string(name, name)
- ctf_integer(int, int_payload, payload)
+ lttng_ust_field_integer(int, int_payload, payload)
)
)
LTTNG_UST_TP_ARGS(const char *, name, int, payload1, int, payload2),
LTTNG_UST_TP_FIELDS(
ctf_string(name, name)
- ctf_integer(int, int_payload1, payload1)
- ctf_integer(int, int_payload2, payload2)
+ lttng_ust_field_integer(int, int_payload1, payload1)
+ lttng_ust_field_integer(int, int_payload2, payload2)
)
)
LTTNG_UST_TP_ARGS(const char *, name, long, payload),
LTTNG_UST_TP_FIELDS(
ctf_string(name, name)
- ctf_integer(long, long_payload, payload)
+ lttng_ust_field_integer(long, long_payload, payload)
)
)
LTTNG_UST_TP_ARGS(const char *, name, long, payload1, long, payload2),
LTTNG_UST_TP_FIELDS(
ctf_string(name, name)
- ctf_integer(long, long_payload1, payload1)
- ctf_integer(long, long_payload2, payload2)
+ lttng_ust_field_integer(long, long_payload1, payload1)
+ lttng_ust_field_integer(long, long_payload2, payload2)
)
)
LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_libc, malloc,
LTTNG_UST_TP_ARGS(size_t, size, void *, ptr, void *, ip),
LTTNG_UST_TP_FIELDS(
- ctf_integer(size_t, size, size)
- ctf_integer_hex(void *, ptr, ptr)
+ lttng_ust_field_integer(size_t, size, size)
+ lttng_ust_field_integer_hex(void *, ptr, ptr)
ctf_unused(ip)
)
)
LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_libc, free,
LTTNG_UST_TP_ARGS(void *, ptr, void *, ip),
LTTNG_UST_TP_FIELDS(
- ctf_integer_hex(void *, ptr, ptr)
+ lttng_ust_field_integer_hex(void *, ptr, ptr)
ctf_unused(ip)
)
)
LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_libc, calloc,
LTTNG_UST_TP_ARGS(size_t, nmemb, size_t, size, void *, ptr, void *, ip),
LTTNG_UST_TP_FIELDS(
- ctf_integer(size_t, nmemb, nmemb)
- ctf_integer(size_t, size, size)
- ctf_integer_hex(void *, ptr, ptr)
+ lttng_ust_field_integer(size_t, nmemb, nmemb)
+ lttng_ust_field_integer(size_t, size, size)
+ lttng_ust_field_integer_hex(void *, ptr, ptr)
ctf_unused(ip)
)
)
LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_libc, realloc,
LTTNG_UST_TP_ARGS(void *, in_ptr, size_t, size, void *, ptr, void *, ip),
LTTNG_UST_TP_FIELDS(
- ctf_integer_hex(void *, in_ptr, in_ptr)
- ctf_integer(size_t, size, size)
- ctf_integer_hex(void *, ptr, ptr)
+ lttng_ust_field_integer_hex(void *, in_ptr, in_ptr)
+ lttng_ust_field_integer(size_t, size, size)
+ lttng_ust_field_integer_hex(void *, ptr, ptr)
ctf_unused(ip)
)
)
LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_libc, memalign,
LTTNG_UST_TP_ARGS(size_t, alignment, size_t, size, void *, ptr, void *, ip),
LTTNG_UST_TP_FIELDS(
- ctf_integer(size_t, alignment, alignment)
- ctf_integer(size_t, size, size)
- ctf_integer_hex(void *, ptr, ptr)
+ lttng_ust_field_integer(size_t, alignment, alignment)
+ lttng_ust_field_integer(size_t, size, size)
+ lttng_ust_field_integer_hex(void *, ptr, ptr)
ctf_unused(ip)
)
)
LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_libc, posix_memalign,
LTTNG_UST_TP_ARGS(void *, out_ptr, size_t, alignment, size_t, size, int, result, void *, ip),
LTTNG_UST_TP_FIELDS(
- ctf_integer_hex(void *, out_ptr, out_ptr)
- ctf_integer(size_t, alignment, alignment)
- ctf_integer(size_t, size, size)
- ctf_integer(int, result, result)
+ lttng_ust_field_integer_hex(void *, out_ptr, out_ptr)
+ lttng_ust_field_integer(size_t, alignment, alignment)
+ lttng_ust_field_integer(size_t, size, size)
+ lttng_ust_field_integer(int, result, result)
ctf_unused(ip)
)
)
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(
- ctf_integer_hex(void *, mutex, mutex)
+ lttng_ust_field_integer_hex(void *, mutex, mutex)
ctf_unused(ip)
)
)
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(
- ctf_integer_hex(void *, mutex, mutex)
- ctf_integer(int, status, status)
+ lttng_ust_field_integer_hex(void *, mutex, mutex)
+ lttng_ust_field_integer(int, status, status)
ctf_unused(ip)
)
)
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(
- ctf_integer_hex(void *, mutex, mutex)
- ctf_integer(int, status, status)
+ lttng_ust_field_integer_hex(void *, mutex, mutex)
+ lttng_ust_field_integer(int, status, status)
ctf_unused(ip)
)
)
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(
- ctf_integer_hex(void *, mutex, mutex)
- ctf_integer(int, status, status)
+ lttng_ust_field_integer_hex(void *, mutex, mutex)
+ lttng_ust_field_integer(int, status, status)
ctf_unused(ip)
)
)
ctf_string(msg, msg)
ctf_string(logger_name, logger_name)
ctf_string(funcName, funcName)
- ctf_integer(unsigned int, lineno, lineno)
- ctf_integer(unsigned int, int_loglevel, int_loglevel)
- ctf_integer(unsigned int, thread, thread)
+ lttng_ust_field_integer(unsigned int, lineno, lineno)
+ lttng_ust_field_integer(unsigned int, int_loglevel, int_loglevel)
+ lttng_ust_field_integer(unsigned int, thread, thread)
ctf_string(threadName, threadName)
)
)
),
LTTNG_UST_TP_FIELDS(
ctf_unused(session)
- ctf_integer_hex(void *, baddr, baddr)
- ctf_integer(uint64_t, memsz, memsz)
+ lttng_ust_field_integer_hex(void *, baddr, baddr)
+ lttng_ust_field_integer(uint64_t, memsz, memsz)
ctf_string(path, path)
- ctf_integer(uint8_t, is_pic, is_pic)
- ctf_integer(uint8_t, has_build_id, has_build_id)
- ctf_integer(uint8_t, has_debug_link, has_debug_link)
+ lttng_ust_field_integer(uint8_t, is_pic, is_pic)
+ lttng_ust_field_integer(uint8_t, has_build_id, has_build_id)
+ lttng_ust_field_integer(uint8_t, has_debug_link, has_debug_link)
)
)
),
LTTNG_UST_TP_FIELDS(
ctf_unused(session)
- ctf_integer_hex(void *, baddr, baddr)
+ lttng_ust_field_integer_hex(void *, baddr, baddr)
ctf_sequence_hex(uint8_t, build_id, build_id,
size_t, build_id_len)
)
),
LTTNG_UST_TP_FIELDS(
ctf_unused(session)
- ctf_integer_hex(void *, baddr, baddr)
- ctf_integer(uint32_t, crc, crc)
+ lttng_ust_field_integer_hex(void *, baddr, baddr)
+ lttng_ust_field_integer(uint32_t, crc, crc)
ctf_string(filename, filename)
)
)
uint8_t, has_debug_link),
LTTNG_UST_TP_FIELDS(
ctf_unused(ip)
- ctf_integer_hex(void *, baddr, baddr)
- ctf_integer(uint64_t, memsz, memsz)
+ lttng_ust_field_integer_hex(void *, baddr, baddr)
+ lttng_ust_field_integer(uint64_t, memsz, memsz)
ctf_string(path, path)
- ctf_integer(uint8_t, has_build_id, has_build_id)
- ctf_integer(uint8_t, has_debug_link, has_debug_link)
+ lttng_ust_field_integer(uint8_t, has_build_id, has_build_id)
+ lttng_ust_field_integer(uint8_t, has_debug_link, has_debug_link)
)
)
),
LTTNG_UST_TP_FIELDS(
ctf_unused(ip)
- ctf_integer_hex(void *, baddr, baddr)
+ lttng_ust_field_integer_hex(void *, baddr, baddr)
ctf_sequence_hex(uint8_t, build_id, build_id,
size_t, build_id_len)
)
),
LTTNG_UST_TP_FIELDS(
ctf_unused(ip)
- ctf_integer_hex(void *, baddr, baddr)
- ctf_integer(uint32_t, crc, crc)
+ lttng_ust_field_integer_hex(void *, baddr, baddr)
+ lttng_ust_field_integer(uint32_t, crc, crc)
ctf_string(filename, filename)
)
)
LTTNG_UST_TP_ARGS(void *, ip, void *, baddr),
LTTNG_UST_TP_FIELDS(
ctf_unused(ip)
- ctf_integer_hex(void *, baddr, baddr)
+ lttng_ust_field_integer_hex(void *, baddr, baddr)
)
)
LTTNG_UST_TRACEPOINT_EVENT(ust_tests_benchmark, tpbench,
LTTNG_UST_TP_ARGS(int, value),
LTTNG_UST_TP_FIELDS(
- ctf_integer(int, event, value)
+ lttng_ust_field_integer(int, event, value)
)
)
LTTNG_UST_TRACEPOINT_EVENT(ust_tests_ctf_types, tptest,
LTTNG_UST_TP_ARGS(int, anint, int, enumval, int, enumval2),
LTTNG_UST_TP_FIELDS(
- ctf_integer(int, intfield, anint)
+ lttng_ust_field_integer(int, intfield, anint)
ctf_enum(ust_tests_ctf_types, testenum, int, enumfield, enumval)
ctf_enum(ust_tests_ctf_types, testenum, long long,
enumfield_bis, enumval)
LTTNG_UST_TRACEPOINT_EVENT(ust_tests_ctf_types, tptest_bis,
LTTNG_UST_TP_ARGS(int, anint, int, enumval),
LTTNG_UST_TP_FIELDS(
- ctf_integer(int, intfield, anint)
+ lttng_ust_field_integer(int, intfield, anint)
ctf_enum(ust_tests_ctf_types, testenum, unsigned char,
enumfield, enumval)
)
double, doublearg, float, floatarg,
int, enumarg),
LTTNG_UST_TP_FIELDS(
- ctf_integer(int, intfield, anint)
- ctf_integer_hex(int, intfield2, anint)
- ctf_integer(long, longfield, anint)
- ctf_integer_network(int, netintfield, netint)
- ctf_integer_network_hex(int, netintfieldhex, netint)
+ lttng_ust_field_integer(int, intfield, anint)
+ lttng_ust_field_integer_hex(int, intfield2, anint)
+ lttng_ust_field_integer(long, longfield, anint)
+ lttng_ust_field_integer_network(int, netintfield, netint)
+ lttng_ust_field_integer_network_hex(int, netintfieldhex, netint)
ctf_array(long, arrfield1, values, 3)
ctf_array_text(char, arrfield2, text, 10)
ctf_sequence(char, seqfield1, text,
double, doublearg, float, floatarg,
bool, boolarg),
LTTNG_UST_TP_FIELDS(
- ctf_integer(int, intfield, anint)
- ctf_integer_hex(int, intfield2, anint)
- ctf_integer(long, longfield, anint)
- ctf_integer_network(int, netintfield, netint)
- ctf_integer_network_hex(int, netintfieldhex, netint)
+ lttng_ust_field_integer(int, intfield, anint)
+ lttng_ust_field_integer_hex(int, intfield2, anint)
+ lttng_ust_field_integer(long, longfield, anint)
+ lttng_ust_field_integer_network(int, netintfield, netint)
+ lttng_ust_field_integer_network_hex(int, netintfieldhex, netint)
ctf_array_nowrite(long, arrfield1z, values, 3)
ctf_array(long, blah, values, 3)
ctf_array(long, arrfield1, values, 3)
ctf_string(stringfield, text)
ctf_float(float, floatfield, floatarg)
ctf_float(double, doublefield, doublearg)
- ctf_integer(bool, boolfield, boolarg)
- ctf_integer_nowrite(int, filterfield, anint)
+ lttng_ust_field_integer(bool, boolfield, boolarg)
+ lttng_ust_field_integer_nowrite(int, filterfield, anint)
)
)
double, doublearg, float, floatarg,
bool, boolarg),
LTTNG_UST_TP_FIELDS(
- ctf_integer(int, intfield, anint)
- ctf_integer_hex(int, intfield2, anint)
- ctf_integer(long, longfield, anint)
- ctf_integer_network(int, netintfield, netint)
- ctf_integer_network_hex(int, netintfieldhex, netint)
+ lttng_ust_field_integer(int, intfield, anint)
+ lttng_ust_field_integer_hex(int, intfield2, anint)
+ lttng_ust_field_integer(long, longfield, anint)
+ lttng_ust_field_integer_network(int, netintfield, netint)
+ lttng_ust_field_integer_network_hex(int, netintfieldhex, netint)
ctf_array(long, arrfield1, values, 3)
ctf_array_text(char, arrfield2, text, 10)
ctf_sequence(char, seqfield1, text,
ctf_string(stringfield, text)
ctf_float(float, floatfield, floatarg)
ctf_float(double, doublefield, doublearg)
- ctf_integer(bool, boolfield, boolarg)
- ctf_integer_nowrite(int, filterfield, anint)
+ lttng_ust_field_integer(bool, boolfield, boolarg)
+ lttng_ust_field_integer_nowrite(int, filterfield, anint)
)
)