function to extract cpu_id
[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 *
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., 59 Temple Place - Suite 330, Boston,
16 * MA 02111-1307, USA.
17 */
18
19#ifndef _IOSTREANTOP_H
20#define _IOSTREAMTOP_H
21
22#include <babeltrace/babeltrace.h>
b093de8a 23#include <babeltrace/ctf/events.h>
1fc22eb4
JD
24#include <inttypes.h>
25#include <glib.h>
26#include <asm/unistd.h>
27
b093de8a
MB
28struct files *get_file(struct processtop *proc, int fd);
29void show_table(GPtrArray *tab);
1fc22eb4
JD
30
31enum bt_cb_ret handle_exit_syscall(struct bt_ctf_event *call_data,
32 void *private_data);
1fc22eb4
JD
33enum bt_cb_ret handle_sys_write(struct bt_ctf_event *call_data,
34 void *private_data);
1fc22eb4
JD
35enum bt_cb_ret handle_sys_read(struct bt_ctf_event *call_data,
36 void *private_data);
b093de8a
MB
37enum bt_cb_ret handle_sys_open(struct bt_ctf_event *call_data,
38 void *private_data);
39enum bt_cb_ret handle_sys_close(struct bt_ctf_event *call_data,
40 void *private_data);
1fc22eb4
JD
41
42#endif /* _IOSTREAMTOP_H */
This page took 0.034148 seconds and 4 git commands to generate.