UNUSED -> __UNUSED__
[lttv.git] / ltt / branches / poly / ltt / trace.h
index 05ed31eb508bad3863b8cac1cddad9f348d906c4..448ea7975941c7c33dc8093bda8ef02c980e272c 100644 (file)
@@ -85,13 +85,15 @@ unsigned ltt_trace_control_tracefile_number(LttTrace *t);
 unsigned ltt_trace_per_cpu_tracefile_number(LttTrace *t);
 
 
-/* It is possible to search for the tracefiles by name or by CPU position.
-   The index within the tracefiles of the same type is returned if found
-   and a negative value otherwise. */
+/* It is possible to search for the tracefiles by name or by CPU tracefile
+ * name.
+ * The index within the tracefiles of the same type is returned if found
+ * and a negative value otherwise.
+ */
 
-int ltt_trace_control_tracefile_find(LttTrace *t, char *name);
+int ltt_trace_control_tracefile_find(LttTrace *t, const gchar *name);
 
-int ltt_trace_per_cpu_tracefile_find(LttTrace *t, unsigned i);
+int ltt_trace_per_cpu_tracefile_find(LttTrace *t, const gchar *name);
 
 
 /* Get a specific tracefile */
@@ -127,7 +129,7 @@ void ltt_tracefile_seek_position(LttTracefile *t,
 
 /* Read the next event */
 
-LttEvent *ltt_tracefile_read(LttTracefile *t);
+LttEvent *ltt_tracefile_read(LttTracefile *t, LttEvent *event);
 
 /* open tracefile */
 
This page took 0.022733 seconds and 4 git commands to generate.