X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fltt.h;h=e0c7a731e0ed1d4a20f46fe88afecba004d52d8e;hb=ef2b0f6126573732140ab56b653711de2cffbb4a;hp=5154c05b0d1c78f0c0b121b4b4798b1ea95d1da8;hpb=9d239bd92ef3198e80333c703f3ab8ff8cdaeaf7;p=lttv.git diff --git a/ltt/branches/poly/ltt/ltt.h b/ltt/branches/poly/ltt/ltt.h index 5154c05b..e0c7a731 100644 --- a/ltt/branches/poly/ltt/ltt.h +++ b/ltt/branches/poly/ltt/ltt.h @@ -1,5 +1,6 @@ /* This file is part of the Linux Trace Toolkit trace reading library * Copyright (C) 2003-2004 Michel Dagenais + * 2005 Mathieu Desnoyers * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -68,6 +69,7 @@ associated to the trace. */ #define NUM_FACILITIES 256 +#define FACILITIES_BITS 8 #define AVG_EVENTS_PER_FACILITIES 10 typedef struct _LttTrace LttTrace; @@ -130,10 +132,28 @@ typedef enum _LttArchEndian } LttArchEndian; typedef enum _LttTypeEnum -{ LTT_INT, LTT_UINT, LTT_POINTER, LTT_LONG, LTT_ULONG, LTT_SIZE_T, - LTT_SSIZE_T, LTT_OFF_T, LTT_FLOAT, LTT_STRING, LTT_ENUM, LTT_ARRAY, - LTT_SEQUENCE, LTT_STRUCT, LTT_UNION +{ LTT_INT_FIXED, + LTT_UINT_FIXED, + LTT_POINTER, + LTT_CHAR, + LTT_UCHAR, + LTT_SHORT, + LTT_USHORT, + LTT_INT, + LTT_UINT, + LTT_LONG, + LTT_ULONG, + LTT_SIZE_T, + LTT_SSIZE_T, + LTT_OFF_T, + LTT_FLOAT, + LTT_STRING, + LTT_ENUM, + LTT_ARRAY, + LTT_SEQUENCE, + LTT_STRUCT, + LTT_UNION, + LTT_NONE } LttTypeEnum; - - + #endif // LTT_H