Re: strace only one child process



On 21 Oct 2006 03:35:52 -0700 tmp123 <tmp123@xxxxxxxxx> wrote:

| About modify "strace", it is a posibility. I should evaluate the
| necessary effort. The idea will be add to the "-f" option an optional
| numerical argument: maximum number of childs to follow.

I would suggest integrating it with the -e option, allowing _any_ kind
of specifiable event to be counted to determine when to stop tracing
that event or to stop strace altogether. Then while you would be using
it to count a maximum of fork() calls, someone else might find value in
stopping tracing after some number of open() calls.

--
|---------------------------------------/----------------------------------|
| Phil Howard KA9WGN (ka9wgn.ham.org) / Do not send to the address below |
| first name lower case at ipal.net / spamtrap-2006-10-21-1837@xxxxxxxx |
|------------------------------------/-------------------------------------|
.



Relevant Pages

  • Re: Is RH 7.2 schedule policy different of RH 9 ???
    ... >> patent issues. ... > Yes, and i installed MPlayer. ... Try tracing it with strace, ...
    (comp.os.linux.development.system)
  • Re: unable to generate form in isql
    ... Pity HP-UX does not have truss or strace or any supported way of ... Download tusc and trace the process. ...
    (comp.databases.informix)
  • Re: strace only one child process
    ... maximum number of childs to follow. ... |> that event or to stop strace altogether. ... |> stopping tracing after some number of opencalls. ... the ones to trace, the ones to start the trace and the ones to ...
    (comp.os.linux.development.system)
  • Re: strace only one child process
    ... that event or to stop strace altogether. ... stopping tracing after some number of opencalls. ... the ones to trace, the ones to start the trace and the ones to ... Kind regards. ...
    (comp.os.linux.development.system)