projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Makefile.am fixed
[lttv.git]
/
ltt
/
branches
/
poly
/
include
/
ltt
/
ltt-private.h
diff --git
a/ltt/branches/poly/include/ltt/ltt-private.h
b/ltt/branches/poly/include/ltt/ltt-private.h
index 1e9886320ccb4ae29f0ece7c9f7f44d6efbba81d..55a2e0e1bc401d0217af4bfc31b98c29f8302b51 100644
(file)
--- a/
ltt/branches/poly/include/ltt/ltt-private.h
+++ b/
ltt/branches/poly/include/ltt/ltt-private.h
@@
-13,7
+13,7
@@
typedef enum _BuildinEvent{
TRACE_FACILITY_LOAD = 0,
TRACE_BLOCK_START = 17,
TRACE_BLOCK_END = 18,
TRACE_FACILITY_LOAD = 0,
TRACE_BLOCK_START = 17,
TRACE_BLOCK_END = 18,
- TRACE_TIME_HEARTBEAT=
22
+ TRACE_TIME_HEARTBEAT=
19
} BuildinEvent;
} BuildinEvent;
@@
-44,7
+44,8
@@
typedef struct _TimeHeartbeat {
struct _LttType{
struct _LttType{
- char * element_name; //elements name of the struct or type name
+ char * type_name; //type name if it is a named type
+ char * element_name; //elements name of the struct
char * fmt;
int size;
LttTypeEnum type_class; //which type
char * fmt;
int size;
LttTypeEnum type_class; //which type
@@
-80,6
+81,9
@@
struct _LttField{
int field_size; //>0: size of the field,
//0 : uncertain
//-1: uninitialize
int field_size; //>0: size of the field,
//0 : uncertain
//-1: uninitialize
+ int sequ_number_size; //the size of unsigned used to save the
+ //number of elements in the sequence
+
int element_size; //the element size of the sequence
int field_fixed; //0: field has string or sequence
//1: field has no string or sequenc
int element_size; //the element size of the sequence
int field_fixed; //0: field has string or sequence
//1: field has no string or sequenc
@@
-99,6
+103,8
@@
struct _LttEvent{
LttCycleCount event_cycle_count;
LttTracefile * tracefile;
void * data; //event data
LttCycleCount event_cycle_count;
LttTracefile * tracefile;
void * data; //event data
+ int which_block; //the current block of the event
+ int which_event; //the position of the event
};
struct _LttFacility{
};
struct _LttFacility{
@@
-107,11
+113,8
@@
struct _LttFacility{
LttChecksum checksum; //checksum of the facility
uint32_t base_id; //base id of the facility
LttEventType ** events; //array of event types
LttChecksum checksum; //checksum of the facility
uint32_t base_id; //base id of the facility
LttEventType ** events; //array of event types
-
- //FIXME Specify those types
- table all_named_types; //an array of named LttType
- sequence all_unnamed_types;//an array of unnamed LttType
- sequence all_fields; //an array of fields
+ LttType ** named_types;
+ int named_types_number;
};
struct _LttTracefile{
};
struct _LttTracefile{
@@
-166,6
+169,9
@@
LttTime getEventTime(LttTracefile * tf);
/* get the data type size and endian type of the local machine */
void getDataEndianType(LttArchSize * size, LttArchEndian * endian);
/* get the data type size and endian type of the local machine */
void getDataEndianType(LttArchSize * size, LttArchEndian * endian);
+/* get an integer number */
+int getIntNumber(int size1, void *evD);
+
/* open facility */
void ltt_facility_open(LttTrace * t, char * facility_name);
/* open facility */
void ltt_facility_open(LttTrace * t, char * facility_name);
This page took
0.023668 seconds
and
4
git commands to generate.