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/5890] sys.stp andtestsuite/systemtap.syscall/sys.stp fail on 2.6.25 x86_64


------- Additional Comments From wcohen at redhat dot com  2008-03-05 22:09 -------
The debug information has some information about fd.

$ pfunct --function=compat_sys_sendmsg
/usr/lib/debug/lib/modules/2.6.25-0.90.rc3.git5.fc9/vmlinux
long int compat_sys_sendmsg(int fd, struct compat_msghdr * msg, unsigned int flags);

There the probe is being places might not have the fd variable available.

ffffffff8122db3b <compat_sys_sendmsg>:
ffffffff8122db3b:	55                   	push   %rbp
ffffffff8122db3c:	81 ca 00 00 00 80    	or     $0x80000000,%edx
ffffffff8122db42:	48 89 e5             	mov    %rsp,%rbp
ffffffff8122db45:	e8 7c 4d fe ff       	callq  ffffffff812128c6 <sys_sendmsg>
ffffffff8122db4a:	c9                   	leaveq 
ffffffff8122db4b:	c3                   	retq   

Removed the accesses to $fd in script probing problem functions to see where
kprobes are being place.

./stap -k  -D DEBUG_SYMBOLS  /tmp/f9_sys_failsa.stp

_stp_do_symbols:264: Got kernel symbols. text=0xffffffff81009000 len=2754847
...
_stp_module_relocate:36: kernel, _stext, 22516f
_stp_module_relocate:36: kernel, _stext, 225181


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5890

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