From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46337 invoked by alias); 15 Jun 2018 21:23:12 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 46302 invoked by uid 48); 15 Jun 2018 21:23:09 -0000 From: "fche at redhat dot com" To: systemtap@sourceware.org Subject: [Bug tapsets/23160] 4.17 breaks syscalls tapset Date: Fri, 15 Jun 2018 21:23:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: tapsets X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fche at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-q2/txt/msg00117.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D23160 Frank Ch. Eigler changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fche at redhat dot com --- Comment #2 from Frank Ch. Eigler --- Created attachment 11073 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D11073&action=3Ded= it 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 --=20 You are receiving this mail because: You are the assignee for the bug.