Tracepoint API namespacing 'TRACEPOINT_DEFINE'
[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#define LTTNG_UST_TRACEPOINT_DEFINE
9#define TRACEPOINT_CREATE_PROBES
10#include "lttng_ust_python.h"
11
12/*
13 * The tracepoint fired by the agent.
14 */
15
16void 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);
19void 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{
23 lttng_ust_tracepoint(lttng_python, event, asctime, msg, logger_name, funcName,
24 lineno, int_loglevel, thread, threadName);
25}
This page took 0.024066 seconds and 4 git commands to generate.