Hide internal tracepoint and providers data symbols
[lttng-ust.git] / src / lib / lttng-ust-python-agent / lttng_ust_python.c
CommitLineData
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
6ba0c2b2
MD
8
9#define LTTNG_UST_TRACEPOINT_HIDDEN_DEFINITION
10#define LTTNG_UST_TRACEPOINT_PROVIDER_HIDDEN_DEFINITION
11
88c7c4ea 12#define LTTNG_UST_TRACEPOINT_DEFINE
660323e6 13#define LTTNG_UST_TRACEPOINT_CREATE_PROBES
c3e14096
DG
14#include "lttng_ust_python.h"
15
16/*
17 * The tracepoint fired by the agent.
18 */
19
4b4a1337
MJ
20void py_tracepoint(const char *asctime, const char *msg,
21 const char *logger_name, const char *funcName, unsigned int lineno,
22 unsigned int int_loglevel, unsigned int thread, const char *threadName);
c3e14096
DG
23void py_tracepoint(const char *asctime, const char *msg,
24 const char *logger_name, const char *funcName, unsigned int lineno,
25 unsigned int int_loglevel, unsigned int thread, const char *threadName)
26{
cbc06a3b 27 lttng_ust_tracepoint(lttng_python, event, asctime, msg, logger_name, funcName,
c3e14096
DG
28 lineno, int_loglevel, thread, threadName);
29}
This page took 0.027528 seconds and 4 git commands to generate.