Move to kernel style SPDX license identifiers
[lttng-ust.git] / liblttng-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
c3e14096
DG
8#define 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)
19{
51761fb9 20 tracepoint(lttng_python, event, asctime, msg, logger_name, funcName,
c3e14096
DG
21 lineno, int_loglevel, thread, threadName);
22}
This page took 0.026684 seconds and 4 git commands to generate.