4 #include <lttv/attribute.h>
8 /* A traceset is a set of traces to be analyzed together. */
10 typedef struct _LttvTraceset LttvTraceset
;
12 typedef struct _LttvTrace LttvTrace
;
14 /* Tracesets may be added to, removed from and their content listed. */
16 LttvTraceset
*lttv_traceset_new();
18 LttvTrace
*lttv_trace_new(LttTrace
*t
);
20 LttvTraceset
*lttv_traceset_copy(LttvTraceset
*s_orig
);
22 LttvTraceset
*lttv_traceset_load(const gchar
*filename
);
24 gint
lttv_traceset_save(LttvTraceset
*s
);
26 void lttv_traceset_destroy(LttvTraceset
*s
);
28 void lttv_trace_destroy(LttvTrace
*t
);
30 void lttv_traceset_add(LttvTraceset
*s
, LttvTrace
*t
);
32 unsigned lttv_traceset_number(LttvTraceset
*s
);
34 LttvTrace
*lttv_traceset_get(LttvTraceset
*s
, unsigned i
);
36 void lttv_traceset_remove(LttvTraceset
*s
, unsigned i
);
38 /* An attributes table is attached to the set and to each trace in the set. */
40 LttvAttribute
*lttv_traceset_attribute(LttvTraceset
*s
);
42 LttvAttribute
*lttv_trace_attribute(LttvTrace
*t
);
44 LttTrace
*lttv_trace(LttvTrace
*t
);
46 guint
lttv_trace_get_ref_number(LttvTrace
* t
);