This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10228] Add more vma-tracking for user space symbol/backtraces
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 2 Jun 2009 14:24:20 -0000
- Subject: [Bug translator/10228] Add more vma-tracking for user space symbol/backtraces
- References: <20090602132248.10228.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.