[Bug tapsets/23160] 4.17 breaks syscalls tapset
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Jun 15 21:23:00 GMT 2018
https://sourceware.org/bugzilla/show_bug.cgi?id=23160
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fche at redhat dot com
--- Comment #2 from Frank Ch. Eigler <fche at redhat dot com> ---
Created attachment 11073
--> https://sourceware.org/bugzilla/attachment.cgi?id=11073&action=edit
adaptation example for syscall.read
This patch is an example of the adaptation of syscall.read to both 4.17 and the
tracepoint (bug #14690) as fallbacks. The gist is to factor out the
registers.stp-based argument fetching code into a separate macro, and to
introduce a new embedded-c function to set the context uregs to the pt_regs*
struct we get with either the 4.17 style syscall wrapper or the tracepoints.
... now to repeat some 330 times ... eww
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list