[PATCH v1] Print ip and port associated with descriptor with -yy

2014-08-04 Thread zubin . mithra
From: Zubin Mithra * defs.h: Add header files netinet/in.h, sys/socket.h and arpa/inet.h. (init): change type of show_fd_path to unsigned int. * util.c (print_remote_ipport): New function. (printsockdetails): New function. (printfd): Modify to use printsockdetails. Signed-off-by: Zubin Mithra

[GSOC 2014] add JSON support for strace

2014-08-04 Thread yangmin zhu
Hi all, I redesign all my framework last week because I found it's getting more and more complicated, and It seems we really do not need so much extra extensibility. For example, the old framework allow us to change the separator of the arguments in syscalls by just modifying one place. In order t

IP and port associated with a socket fd

2014-08-04 Thread Zubin Mithra
Hello everyone, A few notes on the patch "Print ip and port associated with descriptor with -yy" :- 1. A sample output of running it on the client and the server can be found here :- - client : https://gist.github.com/eQu1NoX/3a325de729b4705dc9c3 - server : https://gist.github.com/eQu1NoX/3713abc