acc475bfe1dde65bb16a239652b359568da6448c
2 * SPDX-License-Identifier: MIT
4 * Copyright (C) 2005-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 * This contains the core definitions for the Linux Trace Toolkit.
9 #ifndef _LTTNG_UST_TRACER_H
10 #define _LTTNG_UST_TRACER_H
14 #include <lttng/ust-arch.h>
15 #include <lttng/ust-compiler.h>
16 #include <lttng/ust-config.h>
17 #include <lttng/ust-utils.h>
18 #include <lttng/ust-version.h>
20 #ifndef LTTNG_UST_ARCH_HAS_EFFICIENT_UNALIGNED_ACCESS
21 /* Align data on its natural alignment */
22 #define RING_BUFFER_ALIGN
29 #ifdef RING_BUFFER_ALIGN
30 #define lttng_alignof(type) __alignof__(type)
32 #define lttng_alignof(type) 1
35 #endif /* _LTTNG_UST_TRACER_H */
This page took 0.032577 seconds and 4 git commands to generate.