From: Zubin Mithra
* util.c (print_abspath): New function that converts
a relative to an absolute path.
* util.c (get_tracee_cwd): New function that finds
the current working directory of the tracee.
* (printpathn): Use print_abspath to print out links
if `-yy` flag is used.
Signed-off-by:
Hey Dmitry,
>> First, printing absolute paths is not the same as printing canonicalized
>> paths. The first is straightforward, the second is more complicated and
>> may produce unexpected results. For example, do you really want to follow
>> symlinks when decoding path names passed to open(2)?
Hi everyone,
I learned a lot about git from the great book [1] and I had cleared my
repository in github[2].
I splited my current work into 3 commits:
1. Add basic hook framework for JSON output and the support for '-j' option. [3]
2. Modify sys_read(),sys_write() in io.c to use this hook framework
On Wed, May 28, 2014 at 05:52:40PM +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 new flag (-w) to produce a summary of the time
> difference between beg
On Fri, May 23, 2014 at 06:49:24AM +0400, Dmitry V. Levin wrote:
> On Thu, May 22, 2014 at 08:45:44PM +0530, Zubin Mithra wrote:
> > I've restructured it a bit more, added in dup* calls, please see commit at
> > [1] and sample output at [2].
> >
> > [1]
> > https://github.com/eQu1NoX/strace/commit
On Wed, May 28, 2014 at 09:20:04PM +0530, zubin.mit...@gmail.com wrote:
> From: Zubin Mithra
>
> * Type of `show_fd_path` changed from `bool` to `unsigned int` to
> support the `-yy` flag.
This change is no longer needed in this patch.
> * util.c (returns_fd): New function that checks if the
Right now, the gmane group for this mailing list mangles all email
addresses (along with anything else that looks like one). This is
fairly annoying when it happens to, for example, git patches, which (if
accepted) will be readily mineable anyway.
I think the list owner can disable it (for NNTP
From: Zubin Mithra
* defs.h (returns_fd): New prototype.
* util.c (returns_fd): New function that checks if the tcb refers
to a function that returns a file descriptor.
* syscall.c (trace_syscall_exiting): Use returns_fd to determine whether
tcp->u_rval is a file descriptor.
Signed-off-by: Z