This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [Patch]Fix the output of argument "options" for wait4, waitpid and waitid
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Cai Fei <caifei at cn dot fujitsu dot com>
- Cc: systemtap at sourceware dot org
- Date: Tue, 28 Aug 2007 11:26:09 -0400
- Subject: Re: [Patch]Fix the output of argument "options" for wait4, waitpid and waitid
- References: <46CCCD7D.7020208@cn.fujitsu.com>
Cai Fei <caifei@cn.fujitsu.com> writes:
> The system calls wait4, waitpid and waitid has an argument "int options".
>[...]
> and the values of WSTOPPED and WUNTRACED are equal.
It looks like all the matching names have matching values across the
system calls (which makes sense). So why not just add WNOWAIT to the
_wait4_opt_str(), and perhaps rename it to indicate that it accepts a
union of all the wait* options?
- FChE