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 beginning and end of the system call (ie. latency)
This functionality ha
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,
On Wed, May 28, 2014 at 10:01 PM, Dmitry V. Levin wrote:
> On Wed, May 28, 2014 at 08:12:05PM +0530, Zubin Mithra wrote:
>> Hello,
>>
>> >> (The current implementation is just a PoC and I haven't committed
>> anything
>> >> yet, I'll post a link to the commit as soon as I push it in.)
On Wed, May 28, 2014 at 05:53:16PM +0200, Philippe Ombredanne wrote:
> On Wed, May 28, 2014 at 4:42 PM, Zubin Mithra wrote:
> > I've added in the code for converting all paths that are printed via
> > printpathn(hence, all paths via printpath too). Please find the code at [1].
> > The sample outpu
On Wed, May 28, 2014 at 08:12:05PM +0530, Zubin Mithra wrote:
> Hello,
>
> >> (The current implementation is just a PoC and I haven't committed
> anything
> >> yet, I'll post a link to the commit as soon as I push it in.)
> >
> > This is your own repo, you can commit often!
>
> I've added in the
Hi,
> printpathn is designed for printing paths, and paths cannot be longer than
> MAXPATHLEN. Longer arguments would result to ENAMETOOLONG anyway, so
> there is no need to print more than MAXPATHLEN.
I did a few tests yesterday for fun and I got a surprising result for
getcwd. I've written abo
On Tue, May 27, 2014 at 09:23:15AM +0530, 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 output can be
> seen here[1]. Please note that the arguments passed to "exec
On Wed, May 28, 2014 at 4:42 PM, Zubin Mithra wrote:
> I've added in the code for converting all paths that are printed via
> printpathn(hence, all paths via printpath too). Please find the code at [1].
> The sample output can be found here[2].
> [1]
> https://github.com/eQu1NoX/strace/commit/b17a
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_
Hi Dmitry,
>> Yes, that is what I had in mind. "-y" would behave as it always had,
>> while "-yy" would have decoding of return fds, path resolution of
>> arguments etc.
>
> I understand your concerns, but the change just extends the number of
> cases when file descriptors are decoded. I agree th
On Tue, May 27, 2014 at 05:44:35PM +0100, Mark Hills wrote:
> 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
On Tue, May 27, 2014 at 06:32:29AM +0530, Zubin Mithra wrote:
> On Tue, May 27, 2014 at 4:53 AM, Dmitry V. Levin wrote:
> > On Mon, May 26, 2014 at 10:18:11PM +0530, [email protected] wrote:
[...]
> >> * Type of `show_fd_path` changed from `bool` to `unsigned int` to
> >> support the `-yy`
Hello,
>> (The current implementation is just a PoC and I haven't committed
anything
>> yet, I'll post a link to the commit as soon as I push it in.)
>
> This is your own repo, you can commit often!
I've added in the code for converting all paths that are printed via
printpathn(hence, all paths v
Title: Dia dos Namorados - Shopluxo
Respeitamos sua privacidade, caso não deseje mais receber nossas mensagens acesse este link
14 matches
Mail list logo