2 * SPDX-License-Identifier: LGPL-2.1-only
4 * Copyright (C) 2005-2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 * This contains the definitions for the Linux Trace Toolkit tracer.
8 * Ported to userspace by Pierre-Marc Fournier.
11 #ifndef _LTTNG_TRACER_H
12 #define _LTTNG_TRACER_H
16 #include <lttng/ust-events.h>
17 #include "lttng-tracer-core.h"
20 /* Tracer properties */
21 #define CTF_MAGIC_NUMBER 0xC1FC1FC1
22 #define TSDL_MAGIC_NUMBER 0x75D11D57
24 /* CTF specification version followed */
25 #define CTF_SPEC_MAJOR 1
26 #define CTF_SPEC_MINOR 8
29 * Number of milliseconds to retry before failing metadata writes on buffer full
30 * condition. (10 seconds)
32 #define LTTNG_METADATA_TIMEOUT_MSEC 10000
34 #define LTTNG_RFLAG_EXTENDED RING_BUFFER_RFLAG_END
35 #define LTTNG_RFLAG_END (LTTNG_RFLAG_EXTENDED << 1)
37 #endif /* _LTTNG_TRACER_H */
This page took 0.04834 seconds and 4 git commands to generate.