Cleanup: add lttng_ust_malloc_wrapper_init prototype to header
[lttng-ust.git] / liblttng-ust / lttng-tracer-core.h
CommitLineData
7dd08bec
MD
1#ifndef _LTTNG_TRACER_CORE_H
2#define _LTTNG_TRACER_CORE_H
4fbf9cd1
MD
3
4/*
5 * Copyright (C) 2005-2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 *
7 * This contains the core definitions for the Linux Trace Toolkit.
8 *
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; version 2.1 of
12 * the License.
13 *
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 */
23
b728d87e
MD
24#include <stdint.h>
25#include <stddef.h>
26#include <urcu/arch.h>
4fbf9cd1 27#include <urcu/list.h>
44c72f10
MD
28#include <lttng/ust-tracer.h>
29#include <lttng/bug.h>
4318ae1b 30#include <lttng/ringbuffer-config.h>
44c72f10 31#include <usterr-signal-safe.h>
4fbf9cd1 32
7dd08bec
MD
33struct lttng_session;
34struct lttng_channel;
35struct lttng_event;
4fbf9cd1 36
3327ac33
MD
37int ust_lock(void) __attribute__ ((warn_unused_result));
38void ust_lock_nocheck(void);
17dfb34b 39void ust_unlock(void);
8165c8da 40
eddd8d5d 41void lttng_fixup_event_tls(void);
4158a15a 42void lttng_fixup_vtid_tls(void);
009745db 43void lttng_fixup_procname_tls(void);
eddd8d5d 44
74d81a6c
MD
45const char *lttng_ust_obj_get_name(int id);
46
32ce8569
MD
47int lttng_get_notify_socket(void *owner);
48
246be17e 49void lttng_ust_sockinfo_session_enabled(void *owner);
95c25348 50
79f3848b
MD
51void lttng_ust_malloc_wrapper_init(void);
52
7dd08bec 53#endif /* _LTTNG_TRACER_CORE_H */
This page took 0.028759 seconds and 4 git commands to generate.