X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fhigh-throughput%2Ftp.h;h=79fcfe57a6f18d53432e6d6789361a36959e0e62;hb=HEAD;hp=a5be1f779ca3da86e29f5660e97523f1f8937f58;hpb=9d16b343fb9e781fc8d8fa3c448a3f382306dd33;p=lttng-tools.git diff --git a/tests/regression/ust/high-throughput/tp.h b/tests/regression/ust/high-throughput/tp.h index a5be1f779..79fcfe57a 100644 --- a/tests/regression/ust/high-throughput/tp.h +++ b/tests/regression/ust/high-throughput/tp.h @@ -13,29 +13,40 @@ #include -TRACEPOINT_EVENT(tp, tptest, - 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, + tptest, + 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 */ -#undef TRACEPOINT_INCLUDE_FILE -#define TRACEPOINT_INCLUDE_FILE ./tp.h +#undef TRACEPOINT_INCLUDE +#define TRACEPOINT_INCLUDE "./tp.h" /* This part must be outside ifdef protection */ #include