public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "wcohen at redhat dot com" <sourceware-bugzilla@sourceware.org>
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	[thread overview]
Message-ID: <bug-29028-6586-Bynavjcg8w@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-29028-6586@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=29028

--- Comment #1 from William Cohen <wcohen at redhat dot com> ---
Created attachment 14080
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14080&action=edit
Provide a helper function to get ret_addr from the correct struct

The ret_addr field moves between structs based on CONFIG_KRETPROBE_ON_RETHOOK. 
Only observed this on x86_64 rawhide 5.18.0* kernels so far.  The kernel change
just appears to affect the kretprobes and not the uprobes.  This patch allows
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

  reply	other threads:[~2022-04-25 20:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-05 19:07 [Bug translator/29028] New: " wcohen at redhat dot com
2022-04-25 20:50 ` wcohen at redhat dot com [this message]
2022-04-26  2:59 ` [Bug translator/29028] " wcohen at redhat dot com
2022-04-26 18:27 ` wcohen at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-29028-6586-Bynavjcg8w@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).