vscode: Add configurations to run the executables under the debugger
[lttng-tools.git] / tests / regression / ust / overlap / demo / ust_tests_demo2.h
1 /*
2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
7 #undef TRACEPOINT_PROVIDER
8 #define TRACEPOINT_PROVIDER ust_tests_demo2
9
10 #if !defined(_TRACEPOINT_UST_TESTS_DEMO2_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
11 #define _TRACEPOINT_UST_TESTS_DEMO2_H
12
13 #include <lttng/tracepoint.h>
14
15 TRACEPOINT_EVENT(
16 ust_tests_demo2,
17 loop,
18 TP_ARGS(int,
19 anint,
20 int,
21 netint,
22 long *,
23 values,
24 char *,
25 text,
26 size_t,
27 textlen,
28 double,
29 doublearg,
30 float,
31 floatarg),
32 TP_FIELDS(ctf_integer(int, intfield, anint) ctf_integer_hex(
33 int, intfield2, anint) ctf_integer(long, longfield, anint)
34 ctf_integer_network(int, netintfield, netint) ctf_integer_network_hex(
35 int, netintfieldhex, netint) ctf_array(long, arrfield1, values, 3)
36 ctf_array_text(char, arrfield2, text, 10) ctf_sequence(
37 char, seqfield1, text, size_t, textlen)
38 ctf_sequence_text(char, seqfield2, text, size_t, textlen)
39 ctf_string(stringfield, text)
40 ctf_float(float, floatfield, floatarg)
41 ctf_float(double,
42 doublefield,
43 doublearg)))
44 TRACEPOINT_LOGLEVEL(ust_tests_demo2, loop, TRACE_WARNING)
45
46 #endif /* _TRACEPOINT_UST_TESTS_DEMO2_H */
47
48 #undef TRACEPOINT_INCLUDE
49 #define TRACEPOINT_INCLUDE "./ust_tests_demo2.h"
50
51 /* This part must be outside ifdef protection */
52 #include <lttng/tracepoint-event.h>
This page took 0.03206 seconds and 5 git commands to generate.