X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Flttng-test.h;h=f9fb5a845585a62efb4d53b14d8020dc3579da8a;hb=b7cdc18250880cc44edeef4a4b42c8ac7a135a6d;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..f9fb5a84 100644 --- a/instrumentation/events/lttng-module/lttng-test.h +++ b/instrumentation/events/lttng-module/lttng-test.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #undef TRACE_SYSTEM #define TRACE_SYSTEM lttng_test @@ -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)