[Bug tapsets/12471] Support wait4 *status printing

jan.kratochvil at redhat dot com sourceware-bugzilla@sourceware.org
Wed Feb 9 17:25:00 GMT 2011


http://sourceware.org/bugzilla/show_bug.cgi?id=12471

--- Comment #2 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2011-02-09 17:24:52 UTC ---
(In reply to comment #1)
> Perhaps adding a new variable called 'statusstr' or 'status_str' that just gets
> the value of _wait_status_str() is a better idea.

I used it before but such variable needs to be thread/SMP protected.  There
should be some primitives to have per_cpu() accessible from .stp.


> We could also provide the user with WIFEXITED/WEXITSTATUS/etc. functions if
> anyone thinks that would be a good idea.

That decoding is provided by this patch, isn't it?


Thanks.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Systemtap mailing list