uint64_t start_monotonic;
LttTime start_time;
LttTime start_time_from_tsc;
- uint8_t compact_event_bits;
GData *tracefiles; //tracefiles groups
/* Support for markers */
if (offset + ((i * 4) + j) <
(long)end_pos - (long)start_pos)
g_printf("%02hhX",
- ((char*)ev->tracefile->buffer.head)[ev->offset + offset + ((i * 4) + j)]);
+ ((char*)start_pos)[offset + ((i * 4) + j)]);
else
g_printf(" ");
g_printf(" ");
/* We keep the LSB of the previous timestamp, to make sure
* we never go back */
event->event_id = event->timestamp >> tf->tscbits;
- event->event_id = event->event_id & ((1 << tf->trace->compact_event_bits) - 1);
+ event->event_id = event->event_id & ((1 << tf->compact_event_bits) - 1);
event->compact_data = event->timestamp >>
- (tf->trace->compact_event_bits + tf->tscbits);
+ (tf->compact_event_bits + tf->tscbits);
//printf("tsc bits %u, ev bits %u init data %u\n",
// tf->tscbits, tf->trace->compact_event_bits, event->compact_data);
/* Put the compact data back in original endianness */