2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * SPDX-License-Identifier: MIT
8 #undef TRACEPOINT_PROVIDER
9 #define TRACEPOINT_PROVIDER tp
11 #if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
12 #define _TRACEPOINT_TP_H
14 #include <lttng/tracepoint.h>
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
)))
21 #endif /* _TRACEPOINT_TP_H */
23 #undef TRACEPOINT_INCLUDE
24 #define TRACEPOINT_INCLUDE "./tp.h"
26 /* This part must be outside ifdef protection */
27 #include <lttng/tracepoint-event.h>
This page took 0.029794 seconds and 4 git commands to generate.