wrapper to access context fields
[lttngtop.git] / src / iostreamtop.h
index bde4dbf4de12614ce33ff8830093a94e28bd9ae0..4176c6976e0c824aa726271ebda11258affafde5 100644 (file)
 #define _IOSTREAMTOP_H
 
 #include <babeltrace/babeltrace.h>
+#include <babeltrace/ctf/events.h>
 #include <inttypes.h>
 #include <glib.h>
 #include <asm/unistd.h>
 
-/*
-#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 */
This page took 0.021926 seconds and 4 git commands to generate.