Commit | Line | Data |
---|---|---|
aa3de24d MD |
1 | #undef TRACE_SYSTEM |
2 | #define TRACE_SYSTEM lttng_test | |
3 | ||
4 | #if !defined(LTTNG_TRACE_LTTNG_TEST_H) || defined(TRACE_HEADER_MULTI_READ) | |
5 | #define LTTNG_TRACE_LTTNG_TEST_H | |
6 | ||
7 | #include "../../../probes/lttng-tracepoint-event.h" | |
8 | #include <linux/types.h> | |
9 | #include <linux/version.h> | |
10 | ||
11 | LTTNG_TRACEPOINT_EVENT(lttng_test_filter_event, | |
12 | TP_PROTO(int anint, int netint, long *values, | |
13 | char *text, size_t textlen, | |
14 | char *etext), | |
15 | TP_ARGS(anint, netint, values, text, textlen, etext), | |
16 | TP_FIELDS( | |
17 | ctf_integer(int, intfield, anint) | |
18 | ctf_integer_hex(int, intfield2, anint) | |
19 | ctf_integer(long, longfield, anint) | |
20 | ctf_integer_network(int, netintfield, netint) | |
21 | ctf_integer_network_hex(int, netintfieldhex, netint) | |
22 | ctf_array(long, arrfield1, values, 3) | |
23 | ctf_array_text(char, arrfield2, text, 10) | |
24 | ctf_sequence(char, seqfield1, text, size_t, textlen) | |
25 | ctf_sequence_text(char, seqfield2, text, size_t, textlen) | |
26 | ctf_string(stringfield, text) | |
27 | ctf_string(stringfield2, etext) | |
28 | ) | |
29 | ) | |
30 | ||
31 | #endif /* LTTNG_TRACE_LTTNG_TEST_H */ | |
32 | ||
33 | /* This part must be outside protection */ | |
34 | #include "../../../probes/define_trace.h" |