Hide internal tracepoint and providers data symbols
[lttng-ust.git] / src / lib / lttng-ust-python-agent / lttng_ust_python.c
... / ...
CommitLineData
1/*
2 * SPDX-License-Identifier: LGPL-2.1-only
3 *
4 * Copyright (C) 2014 David Goulet <dgoulet@efficios.com>
5 */
6
7#define _LGPL_SOURCE
8
9#define LTTNG_UST_TRACEPOINT_HIDDEN_DEFINITION
10#define LTTNG_UST_TRACEPOINT_PROVIDER_HIDDEN_DEFINITION
11
12#define LTTNG_UST_TRACEPOINT_DEFINE
13#define LTTNG_UST_TRACEPOINT_CREATE_PROBES
14#include "lttng_ust_python.h"
15
16/*
17 * The tracepoint fired by the agent.
18 */
19
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);
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{
27 lttng_ust_tracepoint(lttng_python, event, asctime, msg, logger_name, funcName,
28 lineno, int_loglevel, thread, threadName);
29}
This page took 0.027056 seconds and 4 git commands to generate.