X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fltt.h;h=02d937c24b003f787560ffdab2b0f57f2a8fe2d9;hb=294a2716158ad1d821b3e47b55950d40fd752d14;hp=5651702c2f45acdce9466ed269f50f985d606cb6;hpb=0f7f40c1b766872829fdac2f76d3c2cf1bb10db8;p=lttv.git diff --git a/ltt/branches/poly/ltt/ltt.h b/ltt/branches/poly/ltt/ltt.h index 5651702c..02d937c2 100644 --- a/ltt/branches/poly/ltt/ltt.h +++ b/ltt/branches/poly/ltt/ltt.h @@ -67,6 +67,10 @@ contained information (byte offsets) may vary with the architecture associated to the trace. */ +#define NUM_FACILITIES 256 +#define FACILITIES_BITS 8 +#define AVG_EVENTS_PER_FACILITIES 10 + typedef struct _LttTrace LttTrace; typedef struct _LttTracefile LttTracefile; @@ -87,7 +91,7 @@ typedef struct _LttSystemDescription LttSystemDescription; /* Checksums are used to differentiate facilities which have the same name but differ. */ -typedef guint32 LttChecksum; +//typedef guint32 LttChecksum; /* Events are usually stored with the easily obtained CPU clock cycle count, @@ -127,7 +131,8 @@ typedef enum _LttArchEndian } LttArchEndian; typedef enum _LttTypeEnum -{ LTT_INT, LTT_UINT, LTT_FLOAT, LTT_STRING, LTT_ENUM, LTT_ARRAY, +{ 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 } LttTypeEnum;