Clean-up: run format-cpp on the tree
[lttng-tools.git] / tests / regression / ust / low-throughput / tp.h
CommitLineData
9d16b343
MJ
1/*
2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
4d5b973e
DG
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
4d5b973e
DG
14#include <lttng/tracepoint.h>
15
28f23191
JG
16TRACEPOINT_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)))
4d5b973e
DG
20
21#endif /* _TRACEPOINT_TP_H */
22
59eb182b
MD
23#undef TRACEPOINT_INCLUDE
24#define TRACEPOINT_INCLUDE "./tp.h"
4d5b973e
DG
25
26/* This part must be outside ifdef protection */
27#include <lttng/tracepoint-event.h>
This page took 0.052707 seconds and 4 git commands to generate.