[PATCH 2/2] Trace fork series calls using PTRACE_SETOPTIONS on linux
Wang Chao
wang.chao at cn.fujitsu.com
Fri Sep 3 00:34:27 UTC 2010
于 2010-9-2 6:16, Dmitry V. Levin 写道:
> On Wed, Sep 01, 2010 at 05:17:56PM +0800, Wang Chao wrote:
>> * defs.h: Variable declaration.
>> * process.c (internal_fork): Do nothing if using PTRACE_SETOPTIONS
>> to trace fork series calls.
>> * strace.c (trace): Set ptrace options and handle trap with flag
>> PTRACE_EVENT_{CLONE,VFORK,FORK}.
>
> Could you elaborate what's going on here, please?
>
>
Yeah, actually I am trying to follow forks using PTRACE_SETOPTIONS method.
But according to comment from Roland, there is something I should take more
attention. Next time I will write changelog more clearly.
Thanks,
Wang Chao
More information about the Strace-devel
mailing list