5554c598a1cbab62911e69cf801460062284cd6b
1 #undef TRACEPOINT_PROVIDER
2 #define TRACEPOINT_PROVIDER lttng_python
4 #if !defined(_TRACEPOINT_LTTNG_UST_PYTHON_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
5 #define _TRACEPOINT_LTTNG_UST_PYTHON_H
8 * Copyright (C) 2014 - David Goulet <dgoulet@efficios.com>
10 * This library is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU Lesser General Public License as published by the
12 * Free Software Foundation; version 2.1 of the License.
14 * This library is distributed in the hope that it will be useful, but WITHOUT
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
19 * You should have received a copy of the GNU Lesser General Public License
20 * along with this library; if not, write to the Free Software Foundation,
21 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 #include <lttng/tracepoint.h>
27 TRACEPOINT_EVENT(lttng_python
, event
,
29 const char *, asctime
,
31 const char *, logger_name
,
32 const char *, funcName
,
36 const char *, threadName
39 ctf_string(asctime
, asctime
)
41 ctf_string(logger_name
, logger_name
)
42 ctf_string(funcName
, funcName
)
43 ctf_integer(unsigned int, lineno
, lineno
)
44 ctf_integer(unsigned int, int_loglevel
, int_loglevel
)
45 ctf_integer(unsigned int, thread
, thread
)
46 ctf_string(threadName
, threadName
)
50 #endif /* _TRACEPOINT_LTTNG_UST_PYTHON_H */
52 #undef TRACEPOINT_INCLUDE
53 #define TRACEPOINT_INCLUDE "./lttng_ust_python.h"
55 /* This part must be outside ifdef protection */
56 #include <lttng/tracepoint-event.h>
This page took 0.032627 seconds and 3 git commands to generate.