2 * Copyright (C) 2011-2012 Mathieu Bain <mathieu.bain@polymtl.ca>
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;
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.
13 * You should have received a copy of the GNU General Public License along
14 * with this program; if not, write to the Free Software Foundation, Inc.,
15 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 #ifndef _IOSTREANTOP_H
19 #define _IOSTREAMTOP_H
21 #include <babeltrace/babeltrace.h>
22 #include <babeltrace/ctf/events.h>
25 #include <asm/unistd.h>
27 struct files
*get_file(struct processtop
*proc
, int fd
);
28 void show_table(GPtrArray
*tab
);
29 void insert_file(struct processtop
*proc
, int fd
);
31 enum bt_cb_ret
handle_exit_syscall(struct bt_ctf_event
*call_data
,
33 enum bt_cb_ret
handle_sys_write(struct bt_ctf_event
*call_data
,
35 enum bt_cb_ret
handle_sys_read(struct bt_ctf_event
*call_data
,
37 enum bt_cb_ret
handle_sys_open(struct bt_ctf_event
*call_data
,
39 enum bt_cb_ret
handle_sys_close(struct bt_ctf_event
*call_data
,
41 enum bt_cb_ret
handle_statedump_file_descriptor(struct bt_ctf_event
*call_data
,
44 #endif /* _IOSTREAMTOP_H */
This page took 0.032481 seconds and 4 git commands to generate.