Re: [PATCH] Path decoding for system calls that return file descriptors implemented.

2014-05-27 Thread Zubin Mithra
Hey Dmitry, On Tue, May 27, 2014 at 2:47 PM, Dmitry V. Levin wrote: > On Tue, May 27, 2014 at 06:32:29AM +0530, Zubin Mithra wrote: >> >> --- a/syscall.c >> >> +++ b/syscall.c >> >> @@ -2669,7 +2669,12 @@ trace_syscall_exiting(struct tcb *tcp) >> >> tprintf("= %lu",

[PATCH] Decode paths associated with file descriptors returned by syscalls

2014-05-27 Thread zubin . mithra
From: Zubin Mithra * Type of `show_fd_path` changed from `bool` to `unsigned int` to support the `-yy` flag. * util.c (returns_fd): New function that checks if the tcb refers to a function that returns a file descriptor. * (trace_syscall_exiting): Use returns_fd to determine whether tcp->u_

Re: [PATCH RFC] Summary of syscall latency

2014-05-27 Thread Mark Hills
On Tue, 27 May 2014, Dmitry V. Levin wrote: > On Tue, May 20, 2014 at 10:26:11AM +0100, Mark Hills wrote: > > Time spent in system time is not useful where a syscall depends on some > > non-CPU resource, eg. typically open() or stat() to a network drive. > > > > This patch adds a -w flag to prod

Re: [PATCH RFC] Summary of syscall latency

2014-05-27 Thread Dmitry V. Levin
On Tue, May 20, 2014 at 10:26:11AM +0100, Mark Hills wrote: > Time spent in system time is not useful where a syscall depends on some > non-CPU resource, eg. typically open() or stat() to a network drive. > > This patch adds a -w flag to produce a summary of the time difference > between beginni

Re: [PATCH] Path decoding for system calls that return file descriptors implemented.

2014-05-27 Thread Dmitry V. Levin
On Tue, May 27, 2014 at 06:32:29AM +0530, Zubin Mithra wrote: > >> --- a/syscall.c > >> +++ b/syscall.c > >> @@ -2669,7 +2669,12 @@ trace_syscall_exiting(struct tcb *tcp) > >> tprintf("= %lu", tcp->u_rval); > >> break; > >>

Re: Pathnames followed by "..." when printed using printpathn

2014-05-27 Thread Zubin Mithra
Hey Philippe, On Tue, May 27, 2014 at 12:07 PM, Philippe Ombredanne wrote: > On Tue, May 27, 2014 at 5:53 AM, Zubin Mithra wrote: >> Hello everyone, >> >> Currently I'm working on a means by which I can convert relative paths to >> absolute when displayed as system call arguments. Some sample ou