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/23160] 4.17 breaks syscalls tapset


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.

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