public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* strange fail in examples/proc_snoop.stp
@ 2007-09-26 12:04 Wenji Huang
  2007-09-26 14:49 ` Andy Gospodarek
  2007-09-26 15:33 ` Frank Ch. Eigler
  0 siblings, 2 replies; 3+ messages in thread
From: Wenji Huang @ 2007-09-26 12:04 UTC (permalink / raw)
  To: systemTAP

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: strange fail in examples/proc_snoop.stp
  2007-09-26 12:04 strange fail in examples/proc_snoop.stp Wenji Huang
@ 2007-09-26 14:49 ` Andy Gospodarek
  2007-09-26 15:33 ` Frank Ch. Eigler
  1 sibling, 0 replies; 3+ messages in thread
From: Andy Gospodarek @ 2007-09-26 14:49 UTC (permalink / raw)
  To: Wenji Huang; +Cc: systemTAP

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: strange fail in examples/proc_snoop.stp
  2007-09-26 12:04 strange fail in examples/proc_snoop.stp Wenji Huang
  2007-09-26 14:49 ` Andy Gospodarek
@ 2007-09-26 15:33 ` Frank Ch. Eigler
  1 sibling, 0 replies; 3+ messages in thread
From: Frank Ch. Eigler @ 2007-09-26 15:33 UTC (permalink / raw)
  To: Wenji Huang; +Cc: systemTAP

Wenji Huang <wenji.huang@oracle.com> writes:

>[...]
> 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
> [...]
> Couldn't find handle_signal in cat /proc/kallsyms or nm vmlinux. Seems
> no probe point match should be reported.

handle_signal appears to be inlined into do_signal / do_notify_resume.
It's another instance of bug #1155.


- FChE

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-09-26 14:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-26 12:04 strange fail in examples/proc_snoop.stp Wenji Huang
2007-09-26 14:49 ` Andy Gospodarek
2007-09-26 15:33 ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).