Update FSF address
[lttv.git] / lttv / lttv / trace.h
1 /* This file is part of the Linux Trace Toolkit viewer
2 * Copyright (C) 2012 Yannick Brosseau
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License Version 2 as
6 * published by the Free Software Foundation;
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
16 * MA 02110-1301, USA.
17 */
18 #ifndef LTTV_TRACE_H
19 #define LTTV_TRACE_H
20
21 #include <lttv/traceset.h>
22 typedef struct _LttvTrace LttvTrace;
23 //typedef struct _LttvTraceset LttvTraceset;
24
25 LttvTraceset *lttv_trace_get_traceset(LttvTrace *trace);
26
27 void lttv_trace_destroy(LttvTrace *t);
28
29 guint lttv_trace_get_ref_number(LttvTrace * t);
30
31 guint lttv_trace_ref(LttvTrace * t);
32
33 guint lttv_trace_unref(LttvTrace * t);
34
35 guint lttv_trace_get_num_cpu(LttvTrace *t);
36
37 /* An attributes table is attached to the set and to each trace in the set. */
38
39 LttvAttribute *lttv_trace_attribute(LttvTrace *t);
40
41 #endif //LTTV_TRACE_H
This page took 0.029611 seconds and 4 git commands to generate.