Cleanup: bytecode: typo: "s16" -> "u16"
[lttng-ust.git] / liblttng-ust / lttng-tracer.h
CommitLineData
7dd08bec
MD
1#ifndef _LTTNG_TRACER_H
2#define _LTTNG_TRACER_H
4fbf9cd1
MD
3
4/*
5 * Copyright (C) 2005-2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 *
7 * This contains the definitions for the Linux Trace Toolkit tracer.
8 *
9 * Ported to userspace by Pierre-Marc Fournier.
10 *
11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Lesser General Public
13 * License as published by the Free Software Foundation; version 2.1 of
14 * the License.
15 *
16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Lesser General Public License for more details.
20 *
21 * You should have received a copy of the GNU Lesser General Public
22 * License along with this library; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 */
25
26#include <stdarg.h>
27#include <stdint.h>
4318ae1b 28#include <lttng/ust-events.h>
7dd08bec 29#include "lttng-tracer-core.h"
b728d87e 30#include "compat.h"
4fbf9cd1 31
4fbf9cd1
MD
32/* Tracer properties */
33#define CTF_MAGIC_NUMBER 0xC1FC1FC1
34#define TSDL_MAGIC_NUMBER 0x75D11D57
8a98a75d
MD
35
36/* CTF specification version followed */
37#define CTF_SPEC_MAJOR 1
38#define CTF_SPEC_MINOR 8
39
4fbf9cd1
MD
40/*
41 * Number of milliseconds to retry before failing metadata writes on buffer full
42 * condition. (10 seconds)
43 */
44#define LTTNG_METADATA_TIMEOUT_MSEC 10000
45
7dd08bec
MD
46#define LTTNG_RFLAG_EXTENDED RING_BUFFER_RFLAG_END
47#define LTTNG_RFLAG_END (LTTNG_RFLAG_EXTENDED << 1)
4fbf9cd1 48
7dd08bec 49#endif /* _LTTNG_TRACER_H */
This page took 0.034364 seconds and 4 git commands to generate.