Commit | Line | Data |
---|---|---|
c3e14096 | 1 | /* |
c0c0989a | 2 | * SPDX-License-Identifier: LGPL-2.1-only |
c3e14096 | 3 | * |
c0c0989a | 4 | * Copyright (C) 2014 David Goulet <dgoulet@efficios.com> |
c3e14096 DG |
5 | */ |
6 | ||
1ddceb36 | 7 | #define _LGPL_SOURCE |
88c7c4ea | 8 | #define LTTNG_UST_TRACEPOINT_DEFINE |
660323e6 | 9 | #define LTTNG_UST_TRACEPOINT_CREATE_PROBES |
c3e14096 DG |
10 | #include "lttng_ust_python.h" |
11 | ||
12 | /* | |
13 | * The tracepoint fired by the agent. | |
14 | */ | |
15 | ||
4b4a1337 MJ |
16 | void py_tracepoint(const char *asctime, const char *msg, |
17 | const char *logger_name, const char *funcName, unsigned int lineno, | |
18 | unsigned int int_loglevel, unsigned int thread, const char *threadName); | |
c3e14096 DG |
19 | void py_tracepoint(const char *asctime, const char *msg, |
20 | const char *logger_name, const char *funcName, unsigned int lineno, | |
21 | unsigned int int_loglevel, unsigned int thread, const char *threadName) | |
22 | { | |
cbc06a3b | 23 | lttng_ust_tracepoint(lttng_python, event, asctime, msg, logger_name, funcName, |
c3e14096 DG |
24 | lineno, int_loglevel, thread, threadName); |
25 | } |