29440e2aa91a783a8fda638194ee6631ac951859
2 * SPDX-License-Identifier: LGPL-2.1-only
4 * Copyright (C) 2014 - David Goulet <dgoulet@efficios.com>
7 #undef TRACEPOINT_PROVIDER
8 #define TRACEPOINT_PROVIDER lttng_python
10 #if !defined(_TRACEPOINT_LTTNG_UST_PYTHON_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
11 #define _TRACEPOINT_LTTNG_UST_PYTHON_H
13 #include <lttng/tracepoint.h>
16 TRACEPOINT_EVENT(lttng_python
, event
,
18 const char *, asctime
,
20 const char *, logger_name
,
21 const char *, funcName
,
25 const char *, threadName
28 ctf_string(asctime
, asctime
)
30 ctf_string(logger_name
, logger_name
)
31 ctf_string(funcName
, funcName
)
32 ctf_integer(unsigned int, lineno
, lineno
)
33 ctf_integer(unsigned int, int_loglevel
, int_loglevel
)
34 ctf_integer(unsigned int, thread
, thread
)
35 ctf_string(threadName
, threadName
)
39 #endif /* _TRACEPOINT_LTTNG_UST_PYTHON_H */
41 #undef TRACEPOINT_INCLUDE
42 #define TRACEPOINT_INCLUDE "./lttng_ust_python.h"
44 /* This part must be outside ifdef protection */
45 #include <lttng/tracepoint-event.h>
This page took 0.029764 seconds and 3 git commands to generate.