X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-tracer.h;h=1712d031cc2051fb456956a52d589d96f273e9c3;hb=369708f464bedc0682151df9308cebfa14dbdb2b;hp=99c8f087adc7e2a477b2edf2e2d1ac6d963bbc9e;hpb=9d4857682c847e590ac78231bc6912e55d2a260a;p=lttng-modules.git diff --git a/lttng-tracer.h b/lttng-tracer.h index 99c8f087..1712d031 100644 --- a/lttng-tracer.h +++ b/lttng-tracer.h @@ -1,14 +1,14 @@ +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) */ #ifndef _LTTNG_TRACER_H #define _LTTNG_TRACER_H /* * lttng-tracer.h * - * Copyright (C) 2005-2011 Mathieu Desnoyers + * This contains the definitions for the Linux Trace Toolkit Next + * Generation tracer. * - * This contains the definitions for the Linux Trace Toolkit tracer. - * - * Dual LGPL v2.1/GPL v2 license. + * Copyright (C) 2005-2012 Mathieu Desnoyers */ #include @@ -21,13 +21,17 @@ #include #include -#include "wrapper/trace-clock.h" -#include "lttng-tracer-core.h" -#include "lttng-events.h" +#include +#include +#include + +#define LTTNG_MODULES_MAJOR_VERSION 2 +#define LTTNG_MODULES_MINOR_VERSION 12 +#define LTTNG_MODULES_PATCHLEVEL_VERSION 0 +#define LTTNG_MODULES_EXTRAVERSION "-rc1" -#define LTTNG_VERSION 1 -#define LTTNG_PATCHLEVEL 9 -#define LTTNG_SUBLEVEL 9 +#define LTTNG_VERSION_NAME "(Ta) Meilleure" +#define LTTNG_VERSION_DESCRIPTION "Ta Meilleure is a Northeast IPA beer brewed by Lagabière. Translating to \"Your best one\", this beer gives out strong aromas of passion fruit, lemon, and peaches. Tastewise, expect a lot of fruit, a creamy texture, and a smooth lingering hop bitterness." #ifndef CHAR_BIT #define CHAR_BIT 8 @@ -51,10 +55,6 @@ #define CTF_SPEC_MAJOR 1 #define CTF_SPEC_MINOR 8 -/* Tracer major/minor versions */ -#define CTF_VERSION_MAJOR 0 -#define CTF_VERSION_MINOR 1 - /* * Number of milliseconds to retry before failing metadata writes on buffer full * condition. (10 seconds) @@ -64,4 +64,6 @@ #define LTTNG_RFLAG_EXTENDED RING_BUFFER_RFLAG_END #define LTTNG_RFLAG_END (LTTNG_RFLAG_EXTENDED << 1) +#define __LTTNG_COMPOUND_LITERAL(type, ...) (type[]) { __VA_ARGS__ } + #endif /* _LTTNG_TRACER_H */