~lttng/lttng-modules/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
 *
 * lttng-tracepoint.h
 *
 * LTTng adaptation layer for Linux kernel 3.15+ tracepoints.
 *
 * Copyright (C) 2014 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
 */

#ifndef _LTTNG_TRACEPOINT_H
#define _LTTNG_TRACEPOINT_H

int lttng_tracepoint_probe_register(const char *name, void *probe, void *data);
int lttng_tracepoint_probe_unregister(const char *name, void *probe, void *data);
int lttng_tracepoint_init(void);
void lttng_tracepoint_exit(void);

#endif /* _LTTNG_TRACEPOINT_H */