From 2786770231bafe751b79ee829519b6d74a4d7709 Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 15 Mar 2007 22:39:24 +0000 Subject: [PATCH] update usertrace fast git-svn-id: http://ltt.polymtl.ca/svn@2431 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt-usertrace/ltt/ltt-usertrace-fast.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ltt-usertrace/ltt/ltt-usertrace-fast.h b/ltt-usertrace/ltt/ltt-usertrace-fast.h index 4656965d..fb018936 100644 --- a/ltt-usertrace/ltt/ltt-usertrace-fast.h +++ b/ltt-usertrace/ltt/ltt-usertrace-fast.h @@ -53,7 +53,7 @@ extern "C" { #define LTT_TRACER_MAGIC_NUMBER 0x00D6B7ED #define LTT_TRACER_VERSION_MAJOR 0 -#define LTT_TRACER_VERSION_MINOR 7 +#define LTT_TRACER_VERSION_MINOR 8 #ifndef atomic_cmpxchg #define atomic_cmpxchg(v, old, new) ((int)cmpxchg(&((v)->counter), old, new)) @@ -71,12 +71,14 @@ struct ltt_trace_header { uint8_t flight_recorder; uint8_t has_heartbeat; uint8_t has_alignment; /* Event header alignment */ + uint8_t tsc_lsb_truncate; + uint8_t tscbits; uint32_t freq_scale; uint64_t start_freq; uint64_t start_tsc; uint64_t start_monotonic; - uint64_t start_time_sec; - uint64_t start_time_usec; + uint64_t start_time_sec; + uint64_t start_time_usec; } __attribute((packed)); -- 2.34.1