[Bug translator/10228] Add more vma-tracking for user space symbol/backtraces
fche at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Jun 2 14:24:00 GMT 2009
------- Additional Comments From fche at redhat dot com 2009-06-02 14:24 -------
bad:
stap -e 'probe process("/lib64/libc.so.6").function("*malloc*") {
print_ubacktrace() exit() } ' -t -d /bin/ls -c 'ls /dev/null' -k
good:
stap -e 'probe process("/lib64/libc.so.6").function("*malloc*") {
print_ubacktrace() exit() } probe process("/bin/ls").function("main") {}' -t -d
/bin/ls -c 'ls /dev/null' -k
effective difference:
@@ -308,7 +283,6 @@
{ .pathname="/lib64/libc-2.8.so", .pid=0, .callback=NULL,
.mmap_callback=&_stp_tf_mmap_cb, .munmap_callback=&_stp_tf_munmap_cb,
.mprotect_callback=NULL, },
{ .pathname="/lib64/libc-2.8.so", .pid=0, .callback=NULL,
.mmap_callback=&_stp_tf_mmap_cb, .munmap_callback=&_stp_tf_munmap_cb,
.mprotect_callback=NULL, },
{ .pathname="/lib64/libc-2.8.so", .pid=0, .callback=NULL,
.mmap_callback=&_stp_tf_mmap_cb, .munmap_callback=&_stp_tf_munmap_cb,
.mprotect_callback=NULL, },
- { .pathname="/bin/ls", .pid=0, .callback=NULL,
.mmap_callback=&_stp_tf_mmap_cb, .munmap_callback=&_stp_tf_munmap_cb,
.mprotect_callback=NULL, },
};
#endif
static struct stap_uprobe_spec {
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10228
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list