X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fiostreamtop.h;fp=src%2Fiostreamtop.h;h=4176c6976e0c824aa726271ebda11258affafde5;hp=bde4dbf4de12614ce33ff8830093a94e28bd9ae0;hb=b093de8aa1ac7555d20b3aa4227d4675b39ef008;hpb=45a6c62f2818a6911c64caa3241fb1b97bb30439 diff --git a/src/iostreamtop.h b/src/iostreamtop.h index bde4dbf..4176c69 100644 --- a/src/iostreamtop.h +++ b/src/iostreamtop.h @@ -20,22 +20,23 @@ #define _IOSTREAMTOP_H #include +#include #include #include #include -/* -#define SYS_READ 1 -#define SYS_WRITE 2 -*/ +struct files *get_file(struct processtop *proc, int fd); +void show_table(GPtrArray *tab); enum bt_cb_ret handle_exit_syscall(struct bt_ctf_event *call_data, void *private_data); - enum bt_cb_ret handle_sys_write(struct bt_ctf_event *call_data, void *private_data); - enum bt_cb_ret handle_sys_read(struct bt_ctf_event *call_data, void *private_data); +enum bt_cb_ret handle_sys_open(struct bt_ctf_event *call_data, + void *private_data); +enum bt_cb_ret handle_sys_close(struct bt_ctf_event *call_data, + void *private_data); #endif /* _IOSTREAMTOP_H */