This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/5051] backtrace() in return probes are failed on ia64
- From: "jkenisto at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 20 Sep 2007 21:51:04 -0000
- Subject: [Bug runtime/5051] backtrace() in return probes are failed on ia64
- References: <20070920194025.5051.mhiramat@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.