X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fiostreamtop.h;h=96313c5abd9b8cb03e108ed05cd261d622b31b2c;hp=4176c6976e0c824aa726271ebda11258affafde5;hb=HEAD;hpb=b093de8aa1ac7555d20b3aa4227d4675b39ef008 diff --git a/src/iostreamtop.h b/src/iostreamtop.h index 4176c69..96313c5 100644 --- a/src/iostreamtop.h +++ b/src/iostreamtop.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2011 Mathieu Bain + * Copyright (C) 2011-2012 Mathieu Bain * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License Version 2 as @@ -10,10 +10,9 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, - * MA 02111-1307, USA. + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef _IOSTREANTOP_H @@ -27,6 +26,7 @@ struct files *get_file(struct processtop *proc, int fd); void show_table(GPtrArray *tab); +void insert_file(struct processtop *proc, int fd); enum bt_cb_ret handle_exit_syscall(struct bt_ctf_event *call_data, void *private_data); @@ -36,7 +36,11 @@ 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_socket(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); +enum bt_cb_ret handle_statedump_file_descriptor(struct bt_ctf_event *call_data, + void *private_data); #endif /* _IOSTREAMTOP_H */