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 translator/10228] Add more vma-tracking for user space symbol/backtraces


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


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