X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Fltt.h;h=423d7cd276729fbc456e1b171fb2ba37c752d53c;hb=256a5b3a59052aabbb4168c052764b5ba552ae99;hp=e0c7a731e0ed1d4a20f46fe88afecba004d52d8e;hpb=f104d082727461632e7a5cc1d2a854f0ad66db07;p=lttv.git diff --git a/ltt/branches/poly/ltt/ltt.h b/ltt/branches/poly/ltt/ltt.h index e0c7a731..423d7cd2 100644 --- a/ltt/branches/poly/ltt/ltt.h +++ b/ltt/branches/poly/ltt/ltt.h @@ -72,22 +72,13 @@ #define FACILITIES_BITS 8 #define AVG_EVENTS_PER_FACILITIES 10 -typedef struct _LttTrace LttTrace; +typedef struct LttTrace LttTrace; -typedef struct _LttTracefile LttTracefile; +typedef struct LttTracefile LttTracefile; -typedef struct _LttFacility LttFacility; - -typedef struct _LttEventType LttEventType; - -typedef struct _LttType LttType; - -typedef struct _LttField LttField; - -typedef struct _LttEvent LttEvent; - -typedef struct _LttSystemDescription LttSystemDescription; +typedef struct LttSystemDescription LttSystemDescription; +typedef struct LttEvent LttEvent; /* Checksums are used to differentiate facilities which have the same name but differ. */ @@ -110,11 +101,10 @@ typedef struct _TimeInterval{ typedef guint64 LttCycleCount; - /* Event positions are used to seek within a tracefile based on the block number and event position within the block. */ -typedef struct _LttEventPosition LttEventPosition; +typedef struct LttEventPosition LttEventPosition; /* Differences between architectures include word sizes, endianess, @@ -155,5 +145,23 @@ typedef enum _LttTypeEnum LTT_UNION, LTT_NONE } LttTypeEnum; - + + +/* Architecture types */ +#define LTT_ARCH_TYPE_I386 1 +#define LTT_ARCH_TYPE_PPC 2 +#define LTT_ARCH_TYPE_SH 3 +#define LTT_ARCH_TYPE_S390 4 +#define LTT_ARCH_TYPE_MIPS 5 +#define LTT_ARCH_TYPE_ARM 6 +#define LTT_ARCH_TYPE_PPC64 7 +#define LTT_ARCH_TYPE_X86_64 8 +#define LTT_ARCH_TYPE_C2 9 +#define LTT_ARCH_TYPE_POWERPC 10 + +/* Standard definitions for variants */ +#define LTT_ARCH_VARIANT_NONE 0 /* Main architecture implementation */ + + + #endif // LTT_H