From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DA5783858C83; Mon, 25 Apr 2022 20:50:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DA5783858C83 From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/29028] Linux 5.18.0 kernels changed struct kretprobe_instance member fields and scripts with return probes fail to compile Date: Mon, 25 Apr 2022 20:50:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wcohen 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: 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-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2022 20:51:00 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29028 --- Comment #1 from William Cohen --- Created attachment 14080 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14080&action=3Ded= it Provide a helper function to get ret_addr from the correct struct The ret_addr field moves between structs based on CONFIG_KRETPROBE_ON_RETHO= OK.=20 Only observed this on x86_64 rawhide 5.18.0* kernels so far. The kernel ch= ange just appears to affect the kretprobes and not the uprobes. This patch allo= ws the reproducer to work on fedora rawhide. Now testing it on x86_64 f35 and other places to verify that it doesn't break things. --=20 You are receiving this mail because: You are the assignee for the bug.=