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