public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "jkenisto at us dot ibm dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sources.redhat.com
Subject: [Bug runtime/5051] backtrace() in return probes are failed on ia64
Date: Fri, 21 Sep 2007 07:07:00 -0000	[thread overview]
Message-ID: <20070920215104.31341.qmail@sourceware.org> (raw)
In-Reply-To: <20070920194025.5051.mhiramat@redhat.com>


------- Additional Comments From jkenisto at us dot ibm dot com  2007-09-20 21:51 -------
I can't say for sure whether there's an ia64-specific problem here.  But the
fact that kretprobes messes up stack backtraces is documented.  Search for
"stack backtraces" in Documentation/kprobes.txt.

This limitation could be fixed, or at least mitigated, by adding a function to
kprobes that returns the return address from the Nth kretprobe_instance for the
indicated task in that task's bucket in kretprobe_inst_table[].  (Keep in mind
that if you have multiple kretprobes on the same function, only one of the
kretprobe_instances will have the true return address; the others will have the
kretprobe trampoline address.)

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5051

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

  reply	other threads:[~2007-09-20 21:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-20 21:35 [Bug runtime/5051] New: " mhiramat at redhat dot com
2007-09-21  7:07 ` jkenisto at us dot ibm dot com [this message]
2007-09-24 17:47 ` [Bug runtime/5051] " hunt at redhat dot com
2007-11-13  7:19 ` shaohua dot li at intel dot com
2007-11-19 21:19 ` mhiramat 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=20070920215104.31341.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sources.redhat.com \
    /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).