X-Git-Url: https://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fiostreamtop.h;h=e809ebada65c9eb90b9c4b586a74f683ba3c1595;hp=bde4dbf4de12614ce33ff8830093a94e28bd9ae0;hb=71bd7ce14826a0d7067c45657f33080e546cd5dc;hpb=37010c3c1a006bf7f3181a1746751c99645ad4bb diff --git a/src/iostreamtop.h b/src/iostreamtop.h index bde4dbf..e809eba 100644 --- a/src/iostreamtop.h +++ b/src/iostreamtop.h @@ -10,32 +10,32 @@ * 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 #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 */