projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added union, not tested
[lttv.git]
/
ltt
/
branches
/
poly
/
ltt
/
trace.h
diff --git
a/ltt/branches/poly/ltt/trace.h
b/ltt/branches/poly/ltt/trace.h
index ba66c33aa6669f54c6801035db25c543e9d8d959..8b4fd197e0548d01618a574246de777bbc4a3f7d 100644
(file)
--- a/
ltt/branches/poly/ltt/trace.h
+++ b/
ltt/branches/poly/ltt/trace.h
@@
-85,13
+85,15
@@
unsigned ltt_trace_control_tracefile_number(LttTrace *t);
unsigned ltt_trace_per_cpu_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, c
onst gc
har *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 */
/* Get a specific tracefile */
@@
-127,7
+129,7
@@
void ltt_tracefile_seek_position(LttTracefile *t,
/* Read the next event */
/* Read the next event */
-LttEvent *ltt_tracefile_read(LttTracefile *t);
+LttEvent *ltt_tracefile_read(LttTracefile *t
, LttEvent *event
);
/* open tracefile */
/* open tracefile */
@@
-149,7
+151,7
@@
void getDataEndianType(LttArchSize * size, LttArchEndian * endian);
/* get an integer number */
/* get an integer number */
-
int
getIntNumber(int size1, void *evD);
+
gint64
getIntNumber(int size1, void *evD);
/* get the node name of the system */
/* get the node name of the system */
@@
-171,4
+173,10
@@
char * ltt_trace_system_description_description (LttSystemDescription * s);
LttTime ltt_trace_system_description_trace_start_time(LttSystemDescription *s);
LttTime ltt_trace_system_description_trace_start_time(LttSystemDescription *s);
+/* copy tracefile info over another. Used for sync. */
+LttTracefile *ltt_tracefile_new();
+void ltt_tracefile_destroy(LttTracefile *tf);
+void ltt_tracefile_copy(LttTracefile *dest, const LttTracefile *src);
+
+
#endif // TRACE_H
#endif // TRACE_H
This page took
0.023319 seconds
and
4
git commands to generate.