This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tapsets/12471] Support wait4 *status printing


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]