add usertrace support
[lttv.git] / ltt / branches / poly / ltt / ltt-private.h
index 6d51afbb73a753936c5a9ec4fb76c62a35669e6a..eceadc437c36f12879912ccb0fb109c889839add 100644 (file)
@@ -127,9 +127,8 @@ struct LttStateDumpFacilityLoad {
        guint32 has_alignment;
 } LTT_PACKED_STRUCT;
 
+/* Empty event */
 typedef struct _TimeHeartbeat {
-  LttTime       time;       //Time stamp of this block
-  uint64_t cycle_count; //cycle count of the event
 } LTT_PACKED_STRUCT TimeHeartbeat;
 
 struct ltt_event_header_hb {
@@ -226,6 +225,7 @@ struct _LttType{
   GHashTable *enum_map;                 //maps enum labels to numbers.
   GArray *fields;     // Array of LttFields, for array, sequence, union, struct.
   GData *fields_by_name;
+       guint   network;        // Is the type in network byte order ?
 };
 
 struct _LttEventType{
@@ -347,6 +347,9 @@ struct _LttTracefile{
   GQuark long_name;                  //tracefile complete filename
   GQuark name;                       //tracefile name
   guint cpu_num;                     //cpu number of the tracefile
+       guint   tid;                                                                                             //Usertrace tid, else 0
+       guint pgid;                                                                                              //Usertrace pgid, else 0
+       guint64 creation;                                                                        //Usertrace creation, else 0
   LttTrace * trace;                  //trace containing the tracefile
   int fd;                            //file descriptor 
   off_t file_size;                   //file size
This page took 0.022677 seconds and 4 git commands to generate.