This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/12471] New: Support wait4 *status printing
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: Mon, 7 Feb 2011 00:26:24 +0000
- Subject: [Bug tapsets/12471] New: Support wait4 *status printing
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12471
Summary: Support wait4 *status printing
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: tapsets
AssignedTo: systemtap@sources.redhat.com
ReportedBy: jan.kratochvil@redhat.com
Created attachment 5232
--> http://sourceware.org/bugzilla/attachment.cgi?id=5232
wait4 *status printing
probe syscall.wait4.return { printf ("%s(%s)=%s\n", name, argstr, retstr) }
then prints nice:
wait4(-1, N/A, WNOHANG|__WCLONE, 0x0)=-10 (ECHILD)
wait4(-1, WSTOPSIG=SIGTRAP, WNOHANG, 0x0)=9319
The problem is we need argstr from the .return function.
Could we start providing argstr in all the syscall.return tapset hook?
This patch is on top of Bug 12470.
I do not understand where everywhere the code should be, it works here but
there is a massive duplication of all the wait* syscall hooks.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.