4 #include <lttv/attribute.h>
8 /* A traceset is a set of traces to be analyzed together. */
10 typedef struct _LttvTraceset LttvTraceset
;
13 /* Tracesets may be added to, removed from and their content listed. */
15 LttvTraceset
*lttv_traceset_new();
17 void lttv_traceset_destroy(LttvTraceset
*s
);
19 void lttv_traceset_add(LttvTraceset
*s
, LttTrace
*t
);
21 unsigned lttv_traceset_number(LttvTraceset
*s
);
23 LttTrace
*lttv_traceset_get(LttvTraceset
*s
, unsigned i
);
25 void lttv_traceset_remove(LttvTraceset
*s
, unsigned i
);
28 /* An attributes table is attached to the set and to each trace in the set. */
30 LttvAttribute
*lttv_traceset_attribute(LttvTraceset
*s
);
32 LttvAttribute
*lttv_traceset_trace_attribute(LttvTraceset
*s
,