/* 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
#include <ltt/ltt.h>
extern GQuark LTT_FACILITY_NAME_HEARTBEAT,
- LTT_EVENT_NAME_HEARTBEAT;
+ LTT_EVENT_NAME_HEARTBEAT,
+ LTT_EVENT_NAME_HEARTBEAT_FULL;
/* A trace is specified as a pathname to the directory containing all the
associated data (control tracefiles, per cpu tracefiles, event
unsigned ltt_trace_facility_number(LttTrace *t);
-LttFacility *ltt_trace_facility_get(LttTrace *t, unsigned i);
-
LttFacility * ltt_trace_facility_by_id(LttTrace * trace, guint8 id);
/* Returns an array of indexes (guint) that matches the facility name */
/* get the cpu number of the tracefile */
-guint ltt_tracefile_num(LttTracefile *tf);
+guint ltt_tracefile_cpu(LttTracefile *tf);
+
+/* For usertrace */
+guint ltt_tracefile_tid(LttTracefile *tf);
+guint ltt_tracefile_pgid(LttTracefile *tf);
+guint64 ltt_tracefile_creation(LttTracefile *tf);
+
LttTrace *ltt_tracefile_get_trace(LttTracefile *tf);
guint64 ltt_get_uint(gboolean reverse_byte_order, gint size, void *data);
+LttTime ltt_interpolate_time_from_tsc(LttTracefile *tf, guint64 tsc);
+
#endif // TRACE_H