check if mandatory contexts are enabled
[lttngtop.git] / src / iostreamtop.h
CommitLineData
1fc22eb4
JD
1/*
2 * Copyright (C) 2011 Mathieu Bain <mathieu.bain@polymtl.ca>
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 *
71bd7ce1
AM
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.
1fc22eb4
JD
16 */
17
18#ifndef _IOSTREANTOP_H
19#define _IOSTREAMTOP_H
20
21#include <babeltrace/babeltrace.h>
b093de8a 22#include <babeltrace/ctf/events.h>
1fc22eb4
JD
23#include <inttypes.h>
24#include <glib.h>
25#include <asm/unistd.h>
26
b093de8a
MB
27struct files *get_file(struct processtop *proc, int fd);
28void show_table(GPtrArray *tab);
59288610 29void insert_file(struct processtop *proc, int fd);
1fc22eb4 30
4adc8274 31enum bt_cb_ret handle_exit_syscall(struct bt_ctf_event *call_data,
1fc22eb4 32 void *private_data);
4adc8274 33enum bt_cb_ret handle_sys_write(struct bt_ctf_event *call_data,
1fc22eb4 34 void *private_data);
4adc8274 35enum bt_cb_ret handle_sys_read(struct bt_ctf_event *call_data,
1fc22eb4 36 void *private_data);
4adc8274 37enum bt_cb_ret handle_sys_open(struct bt_ctf_event *call_data,
b093de8a 38 void *private_data);
4adc8274 39enum bt_cb_ret handle_sys_close(struct bt_ctf_event *call_data,
b093de8a 40 void *private_data);
4adc8274 41enum bt_cb_ret handle_statedump_file_descriptor(struct bt_ctf_event *call_data,
ceb3a221 42 void *private_data);
1fc22eb4
JD
43
44#endif /* _IOSTREAMTOP_H */
This page took 0.034226 seconds and 4 git commands to generate.