This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/5051] backtrace() in return probes are failed on ia64


------- 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]