X-Git-Url: https://git.liburcu.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-ust-nevents%2Ftp.h;h=c9f214ea4e9a3509f8928915443184eb42fd9c43;hp=8b68b374df1ed38adc4e26965ce90808a69f6d2f;hb=28f23191dcbf047429d51950a337a57d7a3f866a;hpb=f250b40e2179eccdb83766bf4abef5a35036c47b diff --git a/tests/utils/testapp/gen-ust-nevents/tp.h b/tests/utils/testapp/gen-ust-nevents/tp.h index 8b68b374d..c9f214ea4 100644 --- a/tests/utils/testapp/gen-ust-nevents/tp.h +++ b/tests/utils/testapp/gen-ust-nevents/tp.h @@ -13,101 +13,151 @@ #include -TRACEPOINT_EVENT(tp, tptest1, - TP_ARGS(int, anint, int, netint, long *, values, - char *, text, size_t, textlen, - double, doublearg, float, floatarg), - 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) - ctf_array(long, arrfield1, values, 3) - ctf_array_text(char, arrfield2, text, 10) - ctf_sequence(char, seqfield1, text, size_t, textlen) - ctf_sequence_text(char, seqfield2, text, size_t, textlen) - ctf_string(stringfield, text) - ctf_float(float, floatfield, floatarg) - ctf_float(double, doublefield, doublearg) - ) -) -TRACEPOINT_EVENT(tp, tptest2, - TP_ARGS(int, anint, int, netint, long *, values, - char *, text, size_t, textlen, - double, doublearg, float, floatarg), - 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) - ctf_array(long, arrfield1, values, 3) - ctf_array_text(char, arrfield2, text, 10) - ctf_sequence(char, seqfield1, text, size_t, textlen) - ctf_sequence_text(char, seqfield2, text, size_t, textlen) - ctf_string(stringfield, text) - ctf_float(float, floatfield, floatarg) - ctf_float(double, doublefield, doublearg) - ) -) -TRACEPOINT_EVENT(tp, tptest3, - TP_ARGS(int, anint, int, netint, long *, values, - char *, text, size_t, textlen, - double, doublearg, float, floatarg), - 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) - ctf_array(long, arrfield1, values, 3) - ctf_array_text(char, arrfield2, text, 10) - ctf_sequence(char, seqfield1, text, size_t, textlen) - ctf_sequence_text(char, seqfield2, text, size_t, textlen) - ctf_string(stringfield, text) - ctf_float(float, floatfield, floatarg) - ctf_float(double, doublefield, doublearg) - ) -) -TRACEPOINT_EVENT(tp, tptest4, - TP_ARGS(int, anint, int, netint, long *, values, - char *, text, size_t, textlen, - double, doublearg, float, floatarg), - 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) - ctf_array(long, arrfield1, values, 3) - ctf_array_text(char, arrfield2, text, 10) - ctf_sequence(char, seqfield1, text, size_t, textlen) - ctf_sequence_text(char, seqfield2, text, size_t, textlen) - ctf_string(stringfield, text) - ctf_float(float, floatfield, floatarg) - ctf_float(double, doublefield, doublearg) - ) -) -TRACEPOINT_EVENT(tp, tptest5, - TP_ARGS(int, anint, int, netint, long *, values, - char *, text, size_t, textlen, - double, doublearg, float, floatarg), - 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) - ctf_array(long, arrfield1, values, 3) - ctf_array_text(char, arrfield2, text, 10) - ctf_sequence(char, seqfield1, text, size_t, textlen) - ctf_sequence_text(char, seqfield2, text, size_t, textlen) - ctf_string(stringfield, text) - ctf_float(float, floatfield, floatarg) - ctf_float(double, doublefield, doublearg) - ) -) +TRACEPOINT_EVENT( + tp, + tptest1, + TP_ARGS(int, + anint, + int, + netint, + long *, + values, + char *, + text, + size_t, + textlen, + double, + doublearg, + float, + floatarg), + 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) ctf_array(long, arrfield1, values, 3) + ctf_array_text(char, arrfield2, text, 10) ctf_sequence( + char, seqfield1, text, size_t, textlen) + ctf_sequence_text(char, seqfield2, text, size_t, textlen) + ctf_string(stringfield, text) + ctf_float(float, floatfield, floatarg) + ctf_float(double, + doublefield, + doublearg))) +TRACEPOINT_EVENT( + tp, + tptest2, + TP_ARGS(int, + anint, + int, + netint, + long *, + values, + char *, + text, + size_t, + textlen, + double, + doublearg, + float, + floatarg), + 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) ctf_array(long, arrfield1, values, 3) + ctf_array_text(char, arrfield2, text, 10) ctf_sequence( + char, seqfield1, text, size_t, textlen) + ctf_sequence_text(char, seqfield2, text, size_t, textlen) + ctf_string(stringfield, text) + ctf_float(float, floatfield, floatarg) + ctf_float(double, + doublefield, + doublearg))) +TRACEPOINT_EVENT( + tp, + tptest3, + TP_ARGS(int, + anint, + int, + netint, + long *, + values, + char *, + text, + size_t, + textlen, + double, + doublearg, + float, + floatarg), + 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) ctf_array(long, arrfield1, values, 3) + ctf_array_text(char, arrfield2, text, 10) ctf_sequence( + char, seqfield1, text, size_t, textlen) + ctf_sequence_text(char, seqfield2, text, size_t, textlen) + ctf_string(stringfield, text) + ctf_float(float, floatfield, floatarg) + ctf_float(double, + doublefield, + doublearg))) +TRACEPOINT_EVENT( + tp, + tptest4, + TP_ARGS(int, + anint, + int, + netint, + long *, + values, + char *, + text, + size_t, + textlen, + double, + doublearg, + float, + floatarg), + 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) ctf_array(long, arrfield1, values, 3) + ctf_array_text(char, arrfield2, text, 10) ctf_sequence( + char, seqfield1, text, size_t, textlen) + ctf_sequence_text(char, seqfield2, text, size_t, textlen) + ctf_string(stringfield, text) + ctf_float(float, floatfield, floatarg) + ctf_float(double, + doublefield, + doublearg))) +TRACEPOINT_EVENT( + tp, + tptest5, + TP_ARGS(int, + anint, + int, + netint, + long *, + values, + char *, + text, + size_t, + textlen, + double, + doublearg, + float, + floatarg), + 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) ctf_array(long, arrfield1, values, 3) + ctf_array_text(char, arrfield2, text, 10) ctf_sequence( + char, seqfield1, text, size_t, textlen) + ctf_sequence_text(char, seqfield2, text, size_t, textlen) + ctf_string(stringfield, text) + ctf_float(float, floatfield, floatarg) + ctf_float(double, + doublefield, + doublearg))) #endif /* _TRACEPOINT_TP_H */