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>
16 TRACEPOINT_EVENT(tp
, slow
,
17 TP_ARGS(unsigned int, c
, const char *, thread_name
),
19 ctf_integer(unsigned int, counter
, c
)
20 ctf_string(th_name
, thread_name
)
24 #endif /* _TRACEPOINT_TP_H */
26 #undef TRACEPOINT_INCLUDE_FILE
27 #define TRACEPOINT_INCLUDE_FILE ./tp.h
29 /* This part must be outside ifdef protection */
30 #include <lttng/tracepoint-event.h>
This page took 0.029624 seconds and 5 git commands to generate.