Re: [PATCH] Fix {get, set}rlimit decoding with unreliable SIZEOF_RLIM_T

2014-05-20 Thread Dmitry V. Levin
On Tue, May 20, 2014 at 11:24:51PM +0100, James Hogan wrote: > Hi Dmitry, > > On 16/05/14 17:02, Dmitry V. Levin wrote: > > On Fri, May 16, 2014 at 12:53:29PM +0100, James Hogan wrote: > >> On 14/05/14 15:17, Dmitry V. Levin wrote: > > [...] > >>> I have two questions wrt this patch: > >>> > >>> 1

Re: [PATCH] Fix {get, set}rlimit decoding with unreliable SIZEOF_RLIM_T

2014-05-20 Thread James Hogan
Hi Dmitry, On 16/05/14 17:02, Dmitry V. Levin wrote: > On Fri, May 16, 2014 at 12:53:29PM +0100, James Hogan wrote: >> On 14/05/14 15:17, Dmitry V. Levin wrote: > [...] >>> I have two questions wrt this patch: >>> >>> 1. Removing the conditional would result with print_rlimit32 defined for >>> all

AW: Trying to understand why strace failed to attach to child

2014-05-20 Thread Fiedler Roman
> Von: Florian Kelbert [mailto:florian_kelb...@gmx.de] > > On 20.05.2014 16:36, Fiedler Roman wrote: > > Hello List, > > > > I'm using strace for quite a while, but today I got a quite unexpected > > result. Since this was so confusing, I would be glad about feedback, if the > > cause for that cou

Re: Trying to understand why strace failed to attach to child

2014-05-20 Thread Florian Kelbert
On 20.05.2014 16:36, Fiedler Roman wrote: > Hello List, > > I'm using strace for quite a while, but today I got a quite unexpected > result. Since this was so confusing, I would be glad about feedback, if the > cause for that could be a) human error in operation of strace, b) > misconception of t

Re: [GSOC 2014] - Yangmin's current work

2014-05-20 Thread Luca Clementi
On Tue, May 20, 2014 at 9:19 AM, Philippe Ombredanne wrote: > On Tue, May 20, 2014 at 5:59 PM, yangmin zhu wrote: >>I am really new to open source project >> and feel some kind lost about how the open source development work. > > Hang in there, you are here to learn... ;) > >> I found the strace

Re: [GSOC 2014] - Yangmin's current work

2014-05-20 Thread Philippe Ombredanne
On Tue, May 20, 2014 at 5:59 PM, yangmin zhu wrote: >I am really new to open source project > and feel some kind lost about how the open source development work. Hang in there, you are here to learn... ;) > I found the strace code changing every week. And I will merge the > latest strace code to

Re: [GSOC 2014] - Yangmin's current work

2014-05-20 Thread yangmin zhu
On Mon, May 19, 2014 at 6:15 PM, Philippe Ombredanne wrote: > On Sun, May 18, 2014 at 6:24 PM, yangmin zhu wrote: > > To ensure that your code can be reviewed and eventually submitted as > patches you would need to start from a clone of the strace git repo. > You seem to have no history in github

Trying to understand why strace failed to attach to child

2014-05-20 Thread Fiedler Roman
Hello List, I'm using strace for quite a while, but today I got a quite unexpected result. Since this was so confusing, I would be glad about feedback, if the cause for that could be a) human error in operation of strace, b) misconception of the principles of syscall tracing, c) some strange inter

[PATCH RFC] Summary of syscall latency

2014-05-20 Thread Mark Hills
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 beginning and end of the system call (ie. latency) This functionality has be