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: Symbol resolution problem in stap on FC5


Ananth N Mavinakayanahalli wrote:
On Tue, Apr 25, 2006 at 10:05:38AM -0400, Frank Ch. Eigler wrote:
srinivasa@in.ibm.com wrote:

[...] I have installed systemtap(systemtap-20060422) along with
elfutils patch(elfutils-0.120.tar.gz,elfutils-portability.patch) on
FC5. But when I wrote a simple script to probe sys_open(),sys_open
didn't get probed. [...]
I can't tell which platform this occurred on. In any case, running
stap with great verbosity (-vvvv) will produce extra information about
why systemtap picks any particular address to probe.

Looking at the size/value of the probed address suggests this is plain i386.

Ananth
Yes its a i386 machine
==============================================================================
[root@localhost stap]# uname -a
Linux localhost.localdomain 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 i686 i386 GNU/Linux
================================================================================
On running stap -vvvv open.stp ,I get this
============================================================
root@localhost stap]# stap -vvvv open.stp
Created temporary directory "/tmp/stapRDfHTo"
Searched '/usr/local/share/systemtap/tapset/2.6.15-1.2054_FC5/i686/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/2.6.15-1.2054_FC5/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/2.6.15/i686/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/2.6.15/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/2.6/i686/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/2.6/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/i686/*.stp', match count 1
Searched '/usr/local/share/systemtap/tapset/*.stp', match count 15
Pass 1: parsed user script and 16 library script(s) in 100usr/0sys/138real ms.
parsed 'sys_open' -> func 'sys_open'
pattern 'kernel' matches module 'kernel'
focused on module 'kernel' = [c0100000-c041efdc, bias 0]
pattern 'sys_open' matches function 'sys_open'
selected function sys_open
prologue searching function 'sys_open' 0xc0151313-0xc015132d@fs/open.c:1089
checking line record 0xc0151313@fs/open.c:1093
prologue found function 'sys_open' (naked) = 0xc0151313
probe sys_open@fs/open.c:1089 pc=0xc0151313
pattern 'kernel' matches module 'kernel'
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 global(s) in 170usr/40sys/246real ms.
probe_0 locks nothing
Running grep " [tT] " /proc/kallsyms | sort -k 1,8 -s -o /tmp/stapRDfHTo/symbols.sorted
==================================================================================




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