projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
roadmap update
[lttv.git]
/
ltt
/
branches
/
poly
/
ltt
/
ltt.h
diff --git
a/ltt/branches/poly/ltt/ltt.h
b/ltt/branches/poly/ltt/ltt.h
index 0aa413bd7e7439fa3641622df630dc687a7317df..e0c7a731e0ed1d4a20f46fe88afecba004d52d8e 100644
(file)
--- 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
/* 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
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@
-19,8
+20,9
@@
#ifndef LTT_H
#define LTT_H
#ifndef LTT_H
#define LTT_H
-#include <ltt/time.h>
#include <glib.h>
#include <glib.h>
+#include <ltt/time.h>
+#include <ltt/compiler.h>
/* A trace is associated with a tracing session run on a single, possibly
multi-cpu, system. It is defined as a pathname to a directory containing
/* A trace is associated with a tracing session run on a single, possibly
multi-cpu, system. It is defined as a pathname to a directory containing
@@
-66,6
+68,10
@@
contained information (byte offsets) may vary with the architecture
associated to the trace. */
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;
typedef struct _LttTrace LttTrace;
typedef struct _LttTracefile LttTracefile;
@@
-82,10
+88,11
@@
typedef struct _LttEvent LttEvent;
typedef struct _LttSystemDescription LttSystemDescription;
typedef struct _LttSystemDescription LttSystemDescription;
+
/* Checksums are used to differentiate facilities which have the same name
but differ. */
/* Checksums are used to differentiate facilities which have the same name
but differ. */
-
typedef unsigned long
LttChecksum;
+
//typedef guint32
LttChecksum;
/* Events are usually stored with the easily obtained CPU clock cycle count,
/* Events are usually stored with the easily obtained CPU clock cycle count,
@@
-96,8
+103,8
@@
typedef unsigned long LttChecksum;
typedef struct _TimeInterval{
typedef struct _TimeInterval{
- LttTime start
T
ime;
- LttTime end
T
ime;
+ LttTime start
_t
ime;
+ LttTime end
_t
ime;
} TimeInterval;
} TimeInterval;
@@
-125,9
+132,28
@@
typedef enum _LttArchEndian
} LttArchEndian;
typedef enum _LttTypeEnum
} LttArchEndian;
typedef enum _LttTypeEnum
-{ LTT_INT, LTT_UINT, 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;
} LttTypeEnum;
-
-
+
#endif // LTT_H
#endif // LTT_H
This page took
0.024568 seconds
and
4
git commands to generate.