X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fiostreamtop.h;h=4176c6976e0c824aa726271ebda11258affafde5;hb=d67167cde319ac9d257f5b59b5a4664e558f4cb4;hp=bde4dbf4de12614ce33ff8830093a94e28bd9ae0;hpb=37010c3c1a006bf7f3181a1746751c99645ad4bb;p=lttngtop.git 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 */