public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/12471] New: Support wait4 *status printing
@ 2011-02-07  0:26 jan.kratochvil at redhat dot com
  2011-02-09 17:19 ` [Bug tapsets/12471] " dsmith at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jan.kratochvil at redhat dot com @ 2011-02-07  0:26 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-03-03 19:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-07  0:26 [Bug tapsets/12471] New: Support wait4 *status printing jan.kratochvil at redhat dot com
2011-02-09 17:19 ` [Bug tapsets/12471] " dsmith at redhat dot com
2011-02-09 17:25 ` jan.kratochvil at redhat dot com
2011-02-09 17:45 ` dsmith at redhat dot com
2011-02-09 18:14 ` jan.kratochvil at redhat dot com
2011-02-15 19:35 ` jan.kratochvil at redhat dot com
2011-03-03 19:09 ` dsmith at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).