X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Ftrace.h;h=0b63c9378aa6193eb966c44a1db97beb8818bf38;hb=8e14270ea52379763d7085888c6492c2f5f8394d;hp=2e8ec3a101871969c97f1f57cd27355e30c10cca;hpb=bf33dd5091178cd0ad175b1914d74056db60e7af;p=lttv.git diff --git a/ltt/branches/poly/ltt/trace.h b/ltt/branches/poly/ltt/trace.h index 2e8ec3a1..0b63c937 100644 --- a/ltt/branches/poly/ltt/trace.h +++ b/ltt/branches/poly/ltt/trace.h @@ -1,5 +1,6 @@ /* 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 @@ -85,7 +86,13 @@ GQuark ltt_tracefile_long_name(const LttTracefile *tf); /* 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); @@ -182,4 +189,6 @@ gint64 ltt_get_int(gboolean reverse_byte_order, gint size, void *data); 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