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 tapsets/13501] Some arguments for 'stap -L "*, *.*, *.*.*" ' probe points not found


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

--- Comment #10 from David Smith <dsmith at redhat dot com> 2011-12-19 20:57:30 UTC ---
Here is my analysis of the results of 'stap -L "**" > /dev/null' on F16.  All
the failures have the same problem - systemtap can't find inlined function
arguments.

====
semantic error: unable to find local 'task' near pc 0x336e3  in  nfs_read_done
fs/nfs/proc.c ( (alternatives: $data): identifier '$task' at
/usr/local/share/systemtap/tapset/nfs_proc.stp:798:11
        source:     status = $task->tk_status
====

nfs.proc2.read_done - inline version missing $task

# stap -L 'module("nfs").function("nfs_read_done").*'
module("nfs").function("nfs_read_done@fs/nfs/proc.c:632").call $task:struct
rpc_task* $data:struct nfs_read_data*
module("nfs").function("nfs_read_done@fs/nfs/proc.c:632").inline $data:struct
nfs_read_data*
module("nfs").function("nfs_read_done@fs/nfs/proc.c:632").return $return:int
$task:struct rpc_task* $data:struct nfs_read_data*


====
semantic error: unable to find local 'task' near pc 0x33645  in  nfs_write_done
fs/nfs/proc.c ( (alternatives: $data): identifier '$task' at :1035:11
        source:     status = $task->tk_status
                             ^
====

nfs.proc2.write_done - inline version missing $task:

# stap -L 'module("nfs").function("nfs_write_done").*'
module("nfs").function("nfs_write_done@fs/nfs/proc.c:654").call $task:struct
rpc_task* $data:struct nfs_write_data*
module("nfs").function("nfs_write_done@fs/nfs/proc.c:654").inline $data:struct
nfs_write_data*
module("nfs").function("nfs_write_done@fs/nfs/proc.c:654").return $return:int
$task:struct rpc_task* $data:struct nfs_write_data*


====
semantic error: unable to find local 'task' near pc 0x3b0e3  in 
nfs3_write_done fs/nfs/nfs3proc.c ( (alternatives: $data): identifier '$task'
at :1066:11
        source:     status = $task->tk_status
====                             ^

nfs.proc3.write_done - inline version missing $task:

# stap -L 'module("nfs").function("nfs3_write_done").*'
module("nfs").function("nfs3_write_done@fs/nfs/nfs3proc.c:817").call
$task:struct rpc_task* $data:struct nfs_write_data*
module("nfs").function("nfs3_write_done@fs/nfs/nfs3proc.c:817").inline
$data:struct nfs_write_data*
module("nfs").function("nfs3_write_done@fs/nfs/nfs3proc.c:817").return
$return:int $task:struct rpc_task* $data:struct nfs_write_data*


====
semantic error: unable to find local 'rqstp' near pc 0x25e49  in  nfsd_open
fs/nfsd/vfs.c ( (alternatives: $filp $access $fhp): identifier '$rqstp' at
/usr/local/share/systemtap/tapset/nfsd.stp:996:33
        source:     client_ip = addr_from_rqst_str($rqstp)
                                                   ^
semantic error: unable to find local 'type' near pc 0x25e49  in  nfsd_open
fs/nfsd/vfs.c ( (alternatives: $filp $access $fhp): identifier '$type' at
:1000:9
        source:     type = $type
====

nfsd.open - inline version missing $rqstp, $type

# stap -L
'module("nfsd").function("nfsd_open").*'module("nfsd").function("nfsd_open@fs/nfsd/vfs.c:715").call
$rqstp:struct svc_rqst* $fhp:struct svc_fh* $type:int $access:int $filp:struct
file** $flags:int $host_err:int
module("nfsd").function("nfsd_open@fs/nfsd/vfs.c:715").exported $rqstp:struct
svc_rqst* $fhp:struct svc_fh* $type:int $access:int $filp:struct file**
$flags:int $host_err:int
module("nfsd").function("nfsd_open@fs/nfsd/vfs.c:715").inline $filp:struct
file** $access:int $fhp:struct svc_fh*
module("nfsd").function("nfsd_open@fs/nfsd/vfs.c:715").return $return:__be32
$rqstp:struct svc_rqst* $fhp:struct svc_fh* $type:int $access:int $filp:struct
file** $flags:int $host_err:int


====
semantic error: unable to find local 'signr' near pc 0xffffffff81013168  in 
handle_signal arch/x86/kernel/signal.c ( (alternatives: $regs $ka $info $sig):
identifier '$signr' at /usr/local/share/systemtap/tapset/signal.stp:606:15
        source:         sig = $signr
                              ^
semantic error: unable to find local 'signr' near pc 0xffffffff81013168  in 
handle_signal arch/x86/kernel/signal.c ( (alternatives: $regs $ka $info $sig):
identifier '$signr' at :607:33
        source:         sig_name = _signal_name($signr)
                                                ^
semantic error: not accessible at this address (0xffffffff81013168, dieoffset:
0x127bfc): identifier '$info' at :609:13
        source:     sinfo = $info
                            ^
semantic error: not accessible at this address (0xffffffff81013168, dieoffset:
0x127bfc): identifier '$info' at :610:16
        source:     sig_code = $info->si_code
                               ^
semantic error: not accessible at this address (0xffffffff81013168, dieoffset:
0x127bf3): identifier '$ka' at :611:15
        source:     ka_addr = $ka
                              ^
semantic error: unable to find local 'set' near pc 0xffffffff81013168  in 
handle_signal arch/x86/kernel/signal.c ( (alternatives: $regs $ka $info $sig):
identifier '$set' at :612:50
        source:     oldset_addr = (@defined($oldset) ? $oldset : $set)
                                                                 ^
semantic error: not accessible at this address (0xffffffff81013168, dieoffset:
0x127bea): identifier '$regs' at :613:12
        source:     regs = $regs
====

signal.handle - inlined function missing all args

# stap -L 'kernel.function("handle_*signal*").*'
kernel.function("handle_signal@arch/x86/kernel/signal.c:682").inline


====
semantic error: failed to retrieve location attribute for local 'clnt'
(dieoffset: 0x17132): identifier '$clnt' at
/usr/local/share/systemtap/tapset/rpc.stp:437:29
        source:     servername = kernel_string($clnt->cl_server)
                                               ^
semantic error: failed to retrieve location attribute for local 'clnt'
(dieoffset: 0x17132): identifier '$clnt' at :438:27
        source:     progname = kernel_string($clnt->cl_protname)
                                             ^
semantic error: failed to retrieve location attribute for local 'clnt'
(dieoffset: 0x17132): identifier '$clnt' at :439:24
        source:     prog = prog_from_clnt($clnt)
                                          ^
semantic error: failed to retrieve location attribute for local 'clnt'
(dieoffset: 0x17132): identifier '$clnt' at :440:24
        source:     vers = vers_from_clnt($clnt)
                                          ^
semantic error: failed to retrieve location attribute for local 'clnt'
(dieoffset: 0x17132): identifier '$clnt' at :441:24
        source:     prot = prot_from_clnt($clnt)
                                          ^
semantic error: failed to retrieve location attribute for local 'clnt'
(dieoffset: 0x17132): identifier '$clnt' at :442:24
        source:     port = port_from_clnt($clnt)
                                          ^
semantic error: failed to retrieve location attribute for local 'clnt'
(dieoffset: 0x17132): identifier '$clnt' at :443:23
        source:     xid  = xid_from_clnt($clnt)
                                         ^
semantic error: failed to retrieve location attribute for local 'clnt'
(dieoffset: 0x17132): identifier '$clnt' at :447:22
        source:            : (atomic_read(&$clnt->cl_count) == 0)))
                                           ^
semantic error: failed to retrieve location attribute for local 'msg'
(dieoffset: 0x1712c): identifier '$msg' at :449:23
        source:     proc = proc_from_msg($msg)
                                         ^
semantic error: failed to retrieve location attribute for local 'flags'
(dieoffset: 0x17126): identifier '$flags' at :454:10
        source:     flags = $flags
====

sunrpc.clnt.call_sync - inlined function missing all args

# stap -L 'module("sunrpc").function("rpc_call_sync").*'
module("sunrpc").function("rpc_call_sync@net/sunrpc/clnt.c:667").call
module("sunrpc").function("rpc_call_sync@net/sunrpc/clnt.c:667").exported
module("sunrpc").function("rpc_call_sync@net/sunrpc/clnt.c:667").return
$return:int

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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