TRACEPOINT_EVENT(
TRACEPOINT_PROVIDER,
align_query,
- TP_ARGS(
+ LTTNG_UST_TP_ARGS(
const char *, query_name
),
TP_FIELDS(
TRACEPOINT_EVENT(
TRACEPOINT_PROVIDER,
test_alignment,
- TP_ARGS(
+ LTTNG_UST_TP_ARGS(
const char *, alignment
),
TP_FIELDS(
#include <lttng/tracepoint.h>
TRACEPOINT_EVENT(ust_tests_demo, starting,
- TP_ARGS(int, value),
+ LTTNG_UST_TP_ARGS(int, value),
TP_FIELDS(
ctf_integer(int, value, value)
)
"http://example.com/path_to_model?q=ust_tests_demo:starting")
TRACEPOINT_EVENT(ust_tests_demo, done,
- TP_ARGS(int, value),
+ LTTNG_UST_TP_ARGS(int, value),
TP_FIELDS(
ctf_integer(int, value, value)
)
#include <stddef.h>
TRACEPOINT_EVENT(ust_tests_demo2, loop,
- TP_ARGS(int, anint, int, netint, long *, values,
+ LTTNG_UST_TP_ARGS(int, anint, int, netint, long *, values,
char *, text, size_t, textlen,
double, doublearg, float, floatarg),
TP_FIELDS(
#include <lttng/tracepoint.h>
TRACEPOINT_EVENT(ust_tests_demo3, done,
- TP_ARGS(int, value),
+ LTTNG_UST_TP_ARGS(int, value),
TP_FIELDS(
ctf_integer(int, value, value)
)
*/
message,
/*
- * TP_ARGS macro contains the arguments passed for the tracepoint
+ * LTTNG_UST_TP_ARGS macro contains the arguments passed for the tracepoint
* it is in the following format
- * TP_ARGS( type1, name1, type2, name2, ... type10, name10)
+ * LTTNG_UST_TP_ARGS( type1, name1, type2, name2, ... type10, name10)
* where there can be from zero to ten elements.
* typeN is the datatype, such as int, struct or double **.
* name is the variable name (in "int myInt" the name would be myint)
- * TP_ARGS() is valid to mean no arguments
- * TP_ARGS( void ) is valid too
+ * LTTNG_UST_TP_ARGS() is valid to mean no arguments
+ * LTTNG_UST_TP_ARGS( void ) is valid too
*/
- TP_ARGS(const char *, text),
+ LTTNG_UST_TP_ARGS(const char *, text),
/*
* TP_FIELDS describes how to write the fields of the trace event.
* You can use the args here
TRACEPOINT_EVENT(
sample_tracepoint,
message, // C++ Style comment
- TP_ARGS(const char *, text),
+ LTTNG_UST_TP_ARGS(const char *, text),
TP_FIELDS(
ctf_string(message, text)
)
#include <stddef.h>
TRACEPOINT_EVENT(ust_tests_hello, tptest,
- TP_ARGS(int, anint, int, netint, long *, values,
+ LTTNG_UST_TP_ARGS(int, anint, int, netint, long *, values,
char *, text, size_t, textlen,
double, doublearg, float, floatarg),
TP_FIELDS(
)
TRACEPOINT_EVENT(ust_tests_hello, tptest_sighandler,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
#include <stdarg.h>
TRACEPOINT_EVENT(lttng_ust_tracef, event,
- TP_ARGS(const char *, msg, unsigned int, len, void *, ip),
+ LTTNG_UST_TP_ARGS(const char *, msg, unsigned int, len, void *, ip),
TP_FIELDS(
ctf_sequence_text(char, msg, msg, unsigned int, len)
ctf_unused(ip)
#include <stdarg.h>
TRACEPOINT_EVENT_CLASS(lttng_ust_tracelog, tlclass,
- TP_ARGS(const char *, file, int, line, const char *, func,
+ LTTNG_UST_TP_ARGS(const char *, file, int, line, const char *, func,
const char *, msg, unsigned int, len, void *, ip),
TP_FIELDS(
ctf_integer(int, line, line)
#define TP_TRACELOG_TEMPLATE(_level_enum) \
TRACEPOINT_EVENT_INSTANCE(lttng_ust_tracelog, tlclass, _level_enum, \
- TP_ARGS(const char *, file, int, line, const char *, func, \
+ LTTNG_UST_TP_ARGS(const char *, file, int, line, const char *, func, \
const char *, msg, unsigned int, len, void *, ip) \
) \
TRACEPOINT_LOGLEVEL(lttng_ust_tracelog, _level_enum, _level_enum)
* Put back definitions to the state they were when defined by
* tracepoint.h.
*/
-#undef TP_ARGS
-#define TP_ARGS(...) __VA_ARGS__
+#undef LTTNG_UST_TP_ARGS
+#define LTTNG_UST_TP_ARGS(...) __VA_ARGS__
#undef TRACEPOINT_EVENT
#define TRACEPOINT_EVENT(provider, name, args, fields) \
lttng_ust_do_tracepoint(provider, name, __VA_ARGS__); \
} while (0)
-#define TP_ARGS(...) __VA_ARGS__
+#define LTTNG_UST_TP_ARGS(...) __VA_ARGS__
/*
- * TP_ARGS takes tuples of type, argument separated by a comma.
+ * LTTNG_UST_TP_ARGS takes tuples of type, argument separated by a comma.
* It can take up to 10 tuples (which means that less than 10 tuples is
* fine too).
* Each tuple is also separated by a comma.
#define tracepoint lttng_ust_tracepoint
#define do_tracepoint lttng_ust_do_tracepoint
#define tracepoint_enabled lttng_ust_tracepoint_enabled
+#define TP_ARGS LTTNG_UST_TP_ARGS
#endif /* #if LTTNG_UST_COMPAT_API(0) */
#ifdef __cplusplus
*
* TRACEPOINT_EVENT(someproject_component, event_name,
*
- * * TP_ARGS takes from 0 to 10 "type, field_name" pairs *
+ * * LTTNG_UST_TP_ARGS takes from 0 to 10 "type, field_name" pairs *
*
- * TP_ARGS(int, arg0, void *, arg1, char *, string, size_t, strlen,
+ * LTTNG_UST_TP_ARGS(int, arg0, void *, arg1, char *, string, size_t, strlen,
* long *, arg4, size_t, arg4_len),
*
* * TP_FIELDS describes the event payload layout in the trace *
#undef TRACEPOINT_ENUM
#define TRACEPOINT_ENUM(_provider, _name, _values)
-#undef TP_ARGS
-#define TP_ARGS(...)
+#undef LTTNG_UST_TP_ARGS
+#define LTTNG_UST_TP_ARGS(...)
#undef TP_FIELDS
#define TP_FIELDS(...)
/* Reset all macros within TRACEPOINT_EVENT */
#include <lttng/ust-tracepoint-event-reset.h>
-#undef TP_ARGS
-#define TP_ARGS(...) __VA_ARGS__
+#undef LTTNG_UST_TP_ARGS
+#define LTTNG_UST_TP_ARGS(...) __VA_ARGS__
#undef _TRACEPOINT_EVENT_INSTANCE
#define _TRACEPOINT_EVENT_INSTANCE(_provider, _template, _name, _args) \
/* Reset all macros within TRACEPOINT_EVENT */
#include <lttng/ust-tracepoint-event-reset.h>
-#undef TP_ARGS
-#define TP_ARGS(...) __VA_ARGS__
+#undef LTTNG_UST_TP_ARGS
+#define LTTNG_UST_TP_ARGS(...) __VA_ARGS__
#undef _TRACEPOINT_EVENT_CLASS
#define _TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) \
#define _ctf_enum(_provider, _name, _type, _item, _src, _nowrite) \
_ctf_integer_ext(_type, _item, _src, BYTE_ORDER, 10, _nowrite)
-#undef TP_ARGS
-#define TP_ARGS(...) __VA_ARGS__
+#undef LTTNG_UST_TP_ARGS
+#define LTTNG_UST_TP_ARGS(...) __VA_ARGS__
#undef TP_FIELDS
#define TP_FIELDS(...) __VA_ARGS__
#define _ctf_enum(_provider, _name, _type, _item, _src, _nowrite) \
_ctf_integer_ext(_type, _item, _src, BYTE_ORDER, 10, _nowrite)
-#undef TP_ARGS
-#define TP_ARGS(...) __VA_ARGS__
+#undef LTTNG_UST_TP_ARGS
+#define LTTNG_UST_TP_ARGS(...) __VA_ARGS__
#undef TP_FIELDS
#define TP_FIELDS(...) __VA_ARGS__
#define _ctf_enum(_provider, _name, _type, _item, _src, _nowrite) \
_ctf_integer_ext(_type, _item, _src, BYTE_ORDER, 10, _nowrite)
-#undef TP_ARGS
-#define TP_ARGS(...) __VA_ARGS__
+#undef LTTNG_UST_TP_ARGS
+#define LTTNG_UST_TP_ARGS(...) __VA_ARGS__
#undef TP_FIELDS
#define TP_FIELDS(...) __VA_ARGS__
#undef __get_dynamic_len
#define __get_dynamic_len(field) __stackvar.__dynamic_len[__dynamic_len_idx++]
-#undef TP_ARGS
-#define TP_ARGS(...) __VA_ARGS__
+#undef LTTNG_UST_TP_ARGS
+#define LTTNG_UST_TP_ARGS(...) __VA_ARGS__
#undef TP_FIELDS
#define TP_FIELDS(...) __VA_ARGS__
/* Reset all macros within TRACEPOINT_EVENT */
#include <lttng/ust-tracepoint-event-reset.h>
-#undef TP_ARGS
-#define TP_ARGS(...) __VA_ARGS__
+#undef LTTNG_UST_TP_ARGS
+#define LTTNG_UST_TP_ARGS(...) __VA_ARGS__
#define _TP_EXTRACT_STRING2(...) #__VA_ARGS__
#include <lttng/tracepoint.h>
TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast, func_entry,
- TP_ARGS(void *, func_addr),
+ LTTNG_UST_TP_ARGS(void *, func_addr),
TP_FIELDS(
ctf_integer_hex(unsigned long, addr,
(unsigned long) func_addr)
TRACE_DEBUG_FUNCTION)
TRACEPOINT_EVENT(lttng_ust_cyg_profile_fast, func_exit,
- TP_ARGS(void *, func_addr),
+ LTTNG_UST_TP_ARGS(void *, func_addr),
TP_FIELDS(
ctf_unused(func_addr)
)
#include <lttng/tracepoint.h>
TRACEPOINT_EVENT_CLASS(lttng_ust_cyg_profile, func_class,
- TP_ARGS(void *, func_addr, void *, call_site),
+ LTTNG_UST_TP_ARGS(void *, func_addr, void *, call_site),
TP_FIELDS(
ctf_integer_hex(unsigned long, addr,
(unsigned long) func_addr)
TRACEPOINT_EVENT_INSTANCE(lttng_ust_cyg_profile, func_class,
func_entry,
- TP_ARGS(void *, func_addr, void *, call_site)
+ LTTNG_UST_TP_ARGS(void *, func_addr, void *, call_site)
)
TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile, func_entry,
TRACEPOINT_EVENT_INSTANCE(lttng_ust_cyg_profile, func_class,
func_exit,
- TP_ARGS(void *, func_addr, void *, call_site)
+ LTTNG_UST_TP_ARGS(void *, func_addr, void *, call_site)
)
TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile, func_exit,
#include <lttng/tracepoint.h>
TRACEPOINT_EVENT(lttng_ust_dl, dlopen,
- TP_ARGS(void *, ip, void *, baddr, const char *, path,
+ LTTNG_UST_TP_ARGS(void *, ip, void *, baddr, const char *, path,
int, flags, uint64_t, memsz, uint8_t, has_build_id,
uint8_t, has_debug_link),
TP_FIELDS(
#ifdef HAVE_DLMOPEN
TRACEPOINT_EVENT(lttng_ust_dl, dlmopen,
- TP_ARGS(void *, ip, void *, baddr, Lmid_t, nsid,
+ LTTNG_UST_TP_ARGS(void *, ip, void *, baddr, Lmid_t, nsid,
const char *, path, int, flags,
uint64_t, memsz, uint8_t, has_build_id,
uint8_t, has_debug_link),
#endif
TRACEPOINT_EVENT(lttng_ust_dl, build_id,
- TP_ARGS(
+ LTTNG_UST_TP_ARGS(
void *, ip,
void *, baddr,
uint8_t *, build_id,
)
TRACEPOINT_EVENT(lttng_ust_dl, debug_link,
- TP_ARGS(
+ LTTNG_UST_TP_ARGS(
void *, ip,
void *, baddr,
char *, filename,
)
TRACEPOINT_EVENT(lttng_ust_dl, dlclose,
- TP_ARGS(void *, ip, void *, baddr),
+ LTTNG_UST_TP_ARGS(void *, ip, void *, baddr),
TP_FIELDS(
ctf_unused(ip)
ctf_integer_hex(void *, baddr, baddr)
* Tracepoint used by Java applications using the JUL handler.
*/
TRACEPOINT_EVENT(lttng_jul, event,
- TP_ARGS(
+ LTTNG_UST_TP_ARGS(
const char *, msg,
const char *, logger_name,
const char *, class_name,
* Tracepoint used by Java applications using the log4j log appender.
*/
TRACEPOINT_EVENT(lttng_log4j, event,
- TP_ARGS(
+ LTTNG_UST_TP_ARGS(
const char *, msg,
const char *, logger_name,
const char *, class_name,
#include <lttng/tracepoint.h>
TRACEPOINT_EVENT(lttng_ust_java, int_event,
- TP_ARGS(const char *, name, int, payload),
+ LTTNG_UST_TP_ARGS(const char *, name, int, payload),
TP_FIELDS(
ctf_string(name, name)
ctf_integer(int, int_payload, payload)
)
TRACEPOINT_EVENT(lttng_ust_java, int_int_event,
- TP_ARGS(const char *, name, int, payload1, int, payload2),
+ LTTNG_UST_TP_ARGS(const char *, name, int, payload1, int, payload2),
TP_FIELDS(
ctf_string(name, name)
ctf_integer(int, int_payload1, payload1)
)
TRACEPOINT_EVENT(lttng_ust_java, long_event,
- TP_ARGS(const char *, name, long, payload),
+ LTTNG_UST_TP_ARGS(const char *, name, long, payload),
TP_FIELDS(
ctf_string(name, name)
ctf_integer(long, long_payload, payload)
)
TRACEPOINT_EVENT(lttng_ust_java, long_long_event,
- TP_ARGS(const char *, name, long, payload1, long, payload2),
+ LTTNG_UST_TP_ARGS(const char *, name, long, payload1, long, payload2),
TP_FIELDS(
ctf_string(name, name)
ctf_integer(long, long_payload1, payload1)
)
TRACEPOINT_EVENT(lttng_ust_java, string_event,
- TP_ARGS(const char *, name, const char *, payload),
+ LTTNG_UST_TP_ARGS(const char *, name, const char *, payload),
TP_FIELDS(
ctf_string(name, name)
ctf_string(string_payload, payload)
#include <lttng/tracepoint.h>
TRACEPOINT_EVENT(lttng_ust_libc, malloc,
- TP_ARGS(size_t, size, void *, ptr, void *, ip),
+ LTTNG_UST_TP_ARGS(size_t, size, void *, ptr, void *, ip),
TP_FIELDS(
ctf_integer(size_t, size, size)
ctf_integer_hex(void *, ptr, ptr)
)
TRACEPOINT_EVENT(lttng_ust_libc, free,
- TP_ARGS(void *, ptr, void *, ip),
+ LTTNG_UST_TP_ARGS(void *, ptr, void *, ip),
TP_FIELDS(
ctf_integer_hex(void *, ptr, ptr)
ctf_unused(ip)
)
TRACEPOINT_EVENT(lttng_ust_libc, calloc,
- TP_ARGS(size_t, nmemb, size_t, size, void *, ptr, void *, ip),
+ LTTNG_UST_TP_ARGS(size_t, nmemb, size_t, size, void *, ptr, void *, ip),
TP_FIELDS(
ctf_integer(size_t, nmemb, nmemb)
ctf_integer(size_t, size, size)
)
TRACEPOINT_EVENT(lttng_ust_libc, realloc,
- TP_ARGS(void *, in_ptr, size_t, size, void *, ptr, void *, ip),
+ LTTNG_UST_TP_ARGS(void *, in_ptr, size_t, size, void *, ptr, void *, ip),
TP_FIELDS(
ctf_integer_hex(void *, in_ptr, in_ptr)
ctf_integer(size_t, size, size)
)
TRACEPOINT_EVENT(lttng_ust_libc, memalign,
- TP_ARGS(size_t, alignment, size_t, size, void *, ptr, void *, ip),
+ LTTNG_UST_TP_ARGS(size_t, alignment, size_t, size, void *, ptr, void *, ip),
TP_FIELDS(
ctf_integer(size_t, alignment, alignment)
ctf_integer(size_t, size, size)
)
TRACEPOINT_EVENT(lttng_ust_libc, posix_memalign,
- TP_ARGS(void *, out_ptr, size_t, alignment, size_t, size, int, result, void *, ip),
+ LTTNG_UST_TP_ARGS(void *, out_ptr, size_t, alignment, size_t, size, int, result, void *, ip),
TP_FIELDS(
ctf_integer_hex(void *, out_ptr, out_ptr)
ctf_integer(size_t, alignment, alignment)
#include <lttng/tracepoint.h>
TRACEPOINT_EVENT(lttng_ust_pthread, pthread_mutex_lock_req,
- TP_ARGS(pthread_mutex_t *, mutex, void *, ip),
+ LTTNG_UST_TP_ARGS(pthread_mutex_t *, mutex, void *, ip),
TP_FIELDS(
ctf_integer_hex(void *, mutex, mutex)
ctf_unused(ip)
)
TRACEPOINT_EVENT(lttng_ust_pthread, pthread_mutex_lock_acq,
- TP_ARGS(pthread_mutex_t *, mutex, int, status, void *, ip),
+ LTTNG_UST_TP_ARGS(pthread_mutex_t *, mutex, int, status, void *, ip),
TP_FIELDS(
ctf_integer_hex(void *, mutex, mutex)
ctf_integer(int, status, status)
)
TRACEPOINT_EVENT(lttng_ust_pthread, pthread_mutex_trylock,
- TP_ARGS(pthread_mutex_t *, mutex, int, status, void *, ip),
+ LTTNG_UST_TP_ARGS(pthread_mutex_t *, mutex, int, status, void *, ip),
TP_FIELDS(
ctf_integer_hex(void *, mutex, mutex)
ctf_integer(int, status, status)
)
TRACEPOINT_EVENT(lttng_ust_pthread, pthread_mutex_unlock,
- TP_ARGS(pthread_mutex_t *, mutex, int, status, void *, ip),
+ LTTNG_UST_TP_ARGS(pthread_mutex_t *, mutex, int, status, void *, ip),
TP_FIELDS(
ctf_integer_hex(void *, mutex, mutex)
ctf_integer(int, status, status)
#include <stdbool.h>
TRACEPOINT_EVENT(lttng_python, event,
- TP_ARGS(
+ LTTNG_UST_TP_ARGS(
const char *, asctime,
const char *, msg,
const char *, logger_name,
#include <lttng/tracepoint.h>
TRACEPOINT_EVENT(lttng_ust_statedump, start,
- TP_ARGS(struct lttng_ust_session *, session),
+ LTTNG_UST_TP_ARGS(struct lttng_ust_session *, session),
TP_FIELDS(
ctf_unused(session)
)
)
TRACEPOINT_EVENT(lttng_ust_statedump, bin_info,
- TP_ARGS(
+ LTTNG_UST_TP_ARGS(
struct lttng_ust_session *, session,
void *, baddr,
const char*, path,
)
TRACEPOINT_EVENT(lttng_ust_statedump, build_id,
- TP_ARGS(
+ LTTNG_UST_TP_ARGS(
struct lttng_ust_session *, session,
void *, baddr,
uint8_t *, build_id,
)
TRACEPOINT_EVENT(lttng_ust_statedump, debug_link,
- TP_ARGS(
+ LTTNG_UST_TP_ARGS(
struct lttng_ust_session *, session,
void *, baddr,
char *, filename,
)
TRACEPOINT_EVENT(lttng_ust_statedump, procname,
- TP_ARGS(
+ LTTNG_UST_TP_ARGS(
struct lttng_ust_session *, session,
char *, name
),
)
TRACEPOINT_EVENT(lttng_ust_statedump, end,
- TP_ARGS(struct lttng_ust_session *, session),
+ LTTNG_UST_TP_ARGS(struct lttng_ust_session *, session),
TP_FIELDS(
ctf_unused(session)
)
#include <lttng/tracepoint.h>
TRACEPOINT_EVENT(lttng_ust_lib, load,
- TP_ARGS(void *, ip, void *, baddr, const char*, path,
+ LTTNG_UST_TP_ARGS(void *, ip, void *, baddr, const char*, path,
uint64_t, memsz, uint8_t, has_build_id,
uint8_t, has_debug_link),
TP_FIELDS(
)
TRACEPOINT_EVENT(lttng_ust_lib, build_id,
- TP_ARGS(
+ LTTNG_UST_TP_ARGS(
void *, ip,
void *, baddr,
uint8_t *, build_id,
)
TRACEPOINT_EVENT(lttng_ust_lib, debug_link,
- TP_ARGS(
+ LTTNG_UST_TP_ARGS(
void *, ip,
void *, baddr,
char *, filename,
)
TRACEPOINT_EVENT(lttng_ust_lib, unload,
- TP_ARGS(void *, ip, void *, baddr),
+ LTTNG_UST_TP_ARGS(void *, ip, void *, baddr),
TP_FIELDS(
ctf_unused(ip)
ctf_integer_hex(void *, baddr, baddr)
#include <lttng/tracepoint.h>
TRACEPOINT_EVENT(ust_tests_benchmark, tpbench,
- TP_ARGS(int, value),
+ LTTNG_UST_TP_ARGS(int, value),
TP_FIELDS(
ctf_integer(int, event, value)
)
* is entered only once in the metadata file.
*/
TRACEPOINT_EVENT(ust_tests_ctf_types, tptest,
- TP_ARGS(int, anint, int, enumval, int, enumval2),
+ LTTNG_UST_TP_ARGS(int, anint, int, enumval, int, enumval2),
TP_FIELDS(
ctf_integer(int, intfield, anint)
ctf_enum(ust_tests_ctf_types, testenum, int, enumfield, enumval)
* only once in the metadata file.
*/
TRACEPOINT_EVENT(ust_tests_ctf_types, tptest_bis,
- TP_ARGS(int, anint, int, enumval),
+ LTTNG_UST_TP_ARGS(int, anint, int, enumval),
TP_FIELDS(
ctf_integer(int, intfield, anint)
ctf_enum(ust_tests_ctf_types, testenum, unsigned char,
#include <stdbool.h>
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple1,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple2,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple3,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple4,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple5,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple6,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple7,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple8,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple9,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple10,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple11,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple12,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple13,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple14,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple15,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple16,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple17,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple18,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple19,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple20,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple21,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple22,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple23,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple24,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple25,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple26,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple27,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple28,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple29,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple30,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple31,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple32,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple33,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple34,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple35,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple36,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple37,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple38,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple39,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_EVENT(ust_tests_hello_many, tptest_simple40,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
)
TRACEPOINT_EVENT(ust_tests_hello, tptest,
- TP_ARGS(int, anint, int, netint, long *, values,
+ LTTNG_UST_TP_ARGS(int, anint, int, netint, long *, values,
char *, text, size_t, textlen,
double, doublearg, float, floatarg,
int, enumarg),
)
TRACEPOINT_EVENT(ust_tests_hello, tptest_sighandler,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
#include <stddef.h>
TRACEPOINT_EVENT(ust_tests_hello, tptest,
- TP_ARGS(int, anint, int, netint, long *, values,
+ LTTNG_UST_TP_ARGS(int, anint, int, netint, long *, values,
char *, text, size_t, textlen,
double, doublearg, float, floatarg,
bool, boolarg),
)
TRACEPOINT_EVENT(ust_tests_hello, tptest_sighandler,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
#include <lttng/tracepoint.h>
TRACEPOINT_EVENT(ust_tests_sameline, event1,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_LOGLEVEL(ust_tests_sameline, event1, TRACE_CRIT)
TRACEPOINT_EVENT(ust_tests_sameline, event2,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)
TRACEPOINT_LOGLEVEL(ust_tests_sameline, event2, TRACE_CRIT)
#include <stdbool.h>
TRACEPOINT_EVENT(ust_tests_hello, tptest,
- TP_ARGS(int, anint, int, netint, long *, values,
+ LTTNG_UST_TP_ARGS(int, anint, int, netint, long *, values,
char *, text, size_t, textlen,
double, doublearg, float, floatarg,
bool, boolarg),
)
TRACEPOINT_EVENT(ust_tests_hello, tptest_sighandler,
- TP_ARGS(),
+ LTTNG_UST_TP_ARGS(),
TP_FIELDS()
)