vscode: Add configurations to run the executables under the debugger
[lttng-tools.git] / tests / regression / ust / low-throughput / tp.h
1 /*
2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
8 #undef TRACEPOINT_PROVIDER
9 #define TRACEPOINT_PROVIDER tp
10
11 #if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
12 #define _TRACEPOINT_TP_H
13
14 #include <lttng/tracepoint.h>
15
16 TRACEPOINT_EVENT(tp,
17 slow,
18 TP_ARGS(unsigned int, c, const char *, thread_name),
19 TP_FIELDS(ctf_integer(unsigned int, counter, c) ctf_string(th_name, thread_name)))
20
21 #endif /* _TRACEPOINT_TP_H */
22
23 #undef TRACEPOINT_INCLUDE
24 #define TRACEPOINT_INCLUDE "./tp.h"
25
26 /* This part must be outside ifdef protection */
27 #include <lttng/tracepoint-event.h>
This page took 0.030136 seconds and 5 git commands to generate.