X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Flttng-test.h;h=7d2b1f7c53f75deaa20b9ef7b29939215608bafb;hb=cf77d12083b5092eca8c6f9899ec0892756845aa;hp=05d028ca3952adc0bb10e1e8582438bc89381621;hpb=0292e7f294eaeb5cbedded798fa0d9e68d8259dd;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/lttng-test.h b/instrumentation/events/lttng-module/lttng-test.h index 05d028ca..7d2b1f7c 100644 --- a/instrumentation/events/lttng-module/lttng-test.h +++ b/instrumentation/events/lttng-module/lttng-test.h @@ -1,10 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #undef TRACE_SYSTEM #define TRACE_SYSTEM lttng_test #if !defined(LTTNG_TRACE_LTTNG_TEST_H) || defined(TRACE_HEADER_MULTI_READ) #define LTTNG_TRACE_LTTNG_TEST_H -#include +#include #include #include @@ -23,8 +24,8 @@ LTTNG_TRACEPOINT_ENUM( LTTNG_TRACEPOINT_EVENT(lttng_test_filter_event, TP_PROTO(int anint, int netint, long *values, char *text, size_t textlen, - char *etext), - TP_ARGS(anint, netint, values, text, textlen, etext), + char *etext, uint32_t * net_values), + TP_ARGS(anint, netint, values, text, textlen, etext, net_values), TP_FIELDS( ctf_integer(int, intfield, anint) ctf_integer_hex(int, intfield2, anint) @@ -33,8 +34,11 @@ LTTNG_TRACEPOINT_EVENT(lttng_test_filter_event, ctf_integer_network_hex(int, netintfieldhex, netint) ctf_array(long, arrfield1, values, 3) ctf_array_text(char, arrfield2, text, 10) + ctf_array_network(uint32_t, arrfield3, net_values, 3) ctf_sequence(char, seqfield1, text, size_t, textlen) ctf_sequence_text(char, seqfield2, text, size_t, textlen) + ctf_sequence_network(uint32_t, seqfield3, net_values, size_t, 3) + ctf_sequence(long, seqfield4, values, size_t, 3) ctf_string(stringfield, text) ctf_string(stringfield2, etext) ctf_sequence_bitfield(long, bitfield_seq, values, uint8_t, 3) @@ -51,4 +55,4 @@ LTTNG_TRACEPOINT_EVENT(lttng_test_filter_event, #endif /* LTTNG_TRACE_LTTNG_TEST_H */ /* This part must be outside protection */ -#include +#include