X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=trunk%2Fltt%2Fbranches%2Fpoly%2Fltt%2Fmarker-field.h;fp=trunk%2Fltt%2Fbranches%2Fpoly%2Fltt%2Fmarker-field.h;h=0000000000000000000000000000000000000000;hb=d5662043c1570c860ee97af8d6cdd95af95a8c50;hp=8eadea9e3736962c724e56e2ef4b475f3e7ccf70;hpb=3d6e46e15a388687ca1c5b7e2eec831eccd59d2d;p=lttv.git diff --git a/trunk/ltt/branches/poly/ltt/marker-field.h b/trunk/ltt/branches/poly/ltt/marker-field.h deleted file mode 100644 index 8eadea9e..00000000 --- a/trunk/ltt/branches/poly/ltt/marker-field.h +++ /dev/null @@ -1,48 +0,0 @@ -#ifndef _LTT_MARKERS_FIELD_H -#define _LTT_MARKERS_FIELD_H - -/* - * Marker field support header. - * - * Mathieu Desnoyers, August 2007 - * License: LGPL. - */ - -#include - -enum ltt_type { - LTT_TYPE_SIGNED_INT, - LTT_TYPE_UNSIGNED_INT, - LTT_TYPE_POINTER, - LTT_TYPE_STRING, - LTT_TYPE_COMPACT, - LTT_TYPE_NONE, -}; - -struct marker_field { - GQuark name; - enum ltt_type type; - unsigned long offset; /* offset in the event data */ - unsigned long size; - unsigned long alignment; - unsigned long attributes; - int static_offset; /* boolean - private - is the field offset statically - * known with the preceding types ? */ -}; - -static inline GQuark marker_field_get_name(struct marker_field *field) -{ - return field->name; -} - -static inline enum ltt_type marker_field_get_type(struct marker_field *field) -{ - return field->type; -} - -static inline unsigned long marker_field_get_size(struct marker_field *field) -{ - return field->size; -} - -#endif //_LTT_MARKERS_FIELD_H