git-svn-id: http://ltt.polymtl.ca/svn@172 04897980-b3bd-0310-b5e0-8ef037075253
[lttv.git] / ltt / branches / poly / include / lttv / traceset.h
CommitLineData
dc877563 1#ifndef TRACESET_H
2#define TRACESET_H
3
4#include <lttv/attribute.h>
5#include <lttv/hook.h>
6#include <ltt/ltt.h>
7
8/* A traceset is a set of traces to be analyzed together. */
9
10typedef struct LttvTraceset LttvTraceset;
11
12
13/* Tracesets may be added to, removed from and their content listed. */
14
15LttvTraceset *lttv_traceset_new();
16
17void lttv_traceset_destroy(LttvTraceset *s);
18
19void lttv_traceset_add(LttvTraceset *s, LttTrace *t);
20
21unsigned lttv_traceset_number(LttvTraceset *s);
22
23LttTrace *lttv_traceset_get(LttvTraceset *s, unsigned i);
24
25void lttv_traceset_remove(LttvTraceset *s, unsigned i);
26
27
28/* An attributes table is attached to the set and to each trace in the set. */
29
30LttvAttribute *lttv_traceset_attribute(LttvTraceset *s);
31
32LttvAttribute *lttv_traceset_trace_attribute(LttvTraceset *s,
33 unsigned i);
34
35
36#endif // TRACESET_H
37
This page took 0.022893 seconds and 4 git commands to generate.