X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;ds=sidebyside;f=lttng-tracer.h;h=1ba6f124201cb2eb7a165c1003385bf3d6dc522e;hb=HEAD;hp=272a77dc8e14758b9ed2f25416ed8cbdf1939ea8;hpb=40d6e366189861b779fcc012f10a5abebebf5ea9;p=lttng-modules.git diff --git a/lttng-tracer.h b/lttng-tracer.h deleted file mode 100644 index 272a77dc..00000000 --- a/lttng-tracer.h +++ /dev/null @@ -1,81 +0,0 @@ -#ifndef _LTTNG_TRACER_H -#define _LTTNG_TRACER_H - -/* - * lttng-tracer.h - * - * This contains the definitions for the Linux Trace Toolkit Next - * Generation tracer. - * - * Copyright (C) 2005-2012 Mathieu Desnoyers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; only - * version 2.1 of the License. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "wrapper/trace-clock.h" -#include "wrapper/compiler.h" -#include "lttng-tracer-core.h" -#include "lttng-events.h" - -#define LTTNG_MODULES_MAJOR_VERSION 2 -#define LTTNG_MODULES_MINOR_VERSION 4 -#define LTTNG_MODULES_PATCHLEVEL_VERSION 0 - -#define LTTNG_VERSION_NAME "Époque Opaque" -#define LTTNG_VERSION_DESCRIPTION \ - "The Époque Opaque is a black IPA from Trou du Diable brewery. The nose is eerily reminiscent of the coffee crisp candy from of our childhood. These strong mocha accents are present on the palate, which are quickly subdued by Japanese and Australian hops leading to a final state of satisfaction enjoyable for any fan of bitter beer." - -#ifndef CHAR_BIT -#define CHAR_BIT 8 -#endif - -/* Number of bytes to log with a read/write event */ -#define LTTNG_LOG_RW_SIZE 32L -#define LTTNG_MAX_SMALL_SIZE 0xFFFFU - -#ifdef RING_BUFFER_ALIGN -#define lttng_alignof(type) __alignof__(type) -#else -#define lttng_alignof(type) 1 -#endif - -/* Tracer properties */ -#define CTF_MAGIC_NUMBER 0xC1FC1FC1 -#define TSDL_MAGIC_NUMBER 0x75D11D57 - -/* CTF specification version followed */ -#define CTF_SPEC_MAJOR 1 -#define CTF_SPEC_MINOR 8 - -/* - * Number of milliseconds to retry before failing metadata writes on buffer full - * condition. (10 seconds) - */ -#define LTTNG_METADATA_TIMEOUT_MSEC 10000 - -#define LTTNG_RFLAG_EXTENDED RING_BUFFER_RFLAG_END -#define LTTNG_RFLAG_END (LTTNG_RFLAG_EXTENDED << 1) - -#endif /* _LTTNG_TRACER_H */