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]

Re: strange fail in examples/proc_snoop.stp


On Wed, Sep 26, 2007 at 05:40:35PM +0800, Wenji Huang wrote:
> Hi,
> 
> Found strange error in my box  i686, 2.6.22.6, gcc 4.1.1 20070105
> 
> stap -vv proc_snoop.stp
> SystemTap translator/driver (version 0.6/0.127 built 2007-09-07)
> Copyright (C) 2005-2007 Red Hat, Inc. and others
> This is free software; see the source for copying conditions.
> Created temporary directory "/tmp/stapZmhzGJ"
> Searched '/usr/local/share/systemtap/tapset/i686/*.stp', found 1
> Searched '/usr/local/share/systemtap/tapset/*.stp', found 36
> Pass 1: parsed user script and 37 library script(s) in 
> 20usr/280sys/311real ms.
> probe copy_process@kernel/fork.c:961 kernel section=.text pc=0xc0118f08
> probe schedule_tail@kernel/sched.c:1932 kernel section=.text pc=0xc0117a11
> probe do_execve@fs/exec.c:1154 kernel section=.text pc=0xc0159c3a
> probe do_execve@fs/exec.c:1154 kernel section=.text pc=0xc0159c3a
> probe do_exit@kernel/exit.c:863 kernel section=.text pc=0xc011d276
> probe release_task@kernel/exit.c:154 kernel section=.text pc=0xc011c579
> probe __group_send_sig_info@kernel/signal.c:912 kernel section=.text 
> pc=0xc0122d65
> probe send_group_sigqueue@kernel/signal.c:1337 kernel section=.text 
> pc=0xc01231fc
> probe send_sigqueue@kernel/signal.c:1281 kernel section=.text pc=0xc01249fa
> probe specific_send_sig_info@kernel/signal.c:724 kernel section=.text 
> pc=0xc01235eb
> probe handle_signal@arch/i386/kernel/signal.c:512 kernel section=.text 
> pc=0xc01027db
> semantic error: failed to retrieve location attribute for local 'sig' 
> (dieoffset: 0x60941): identifier '$sig' at 
> /usr/local/share/systemtap/tapset/signal.stp:390:11
> semantic error: failed to retrieve location attribute for local 'sig' 
> (dieoffset: 0x60941): identifier '$sig' at 
> /usr/local/share/systemtap/tapset/signal.stp:391:29
> semantic error: failed to retrieve location attribute for local 'info' 
> (dieoffset: 0x6093c): identifier '$info' at 
> /usr/local/share/systemtap/tapset/signal.stp:392:13
> semantic error: failed to retrieve location attribute for local 'info' 
> (dieoffset: 0x6093c): identifier '$info' at 
> /usr/local/share/systemtap/tapset/signal.stp:393:16
> 
> Same error in x86_64, 2.6.23-rc4.
> 
> Couldn't find handle_signal in cat /proc/kallsyms or nm vmlinux. Seems 
> no probe point match should be reported.
> 
> So very weird.
> 
> Thanks,
> wenji
> 

I'm not positive this is the case, but since that function is static it
may actually be turned into an inline function by gcc and accessing
arguments to inline functions isn't possible.


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