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: stap error: no match while resolving probe point kernel.function("do_mmap_pgoff@mm/mmap.c:901")


> and here is the output of   'stap -l ' :
> stap -l 'kernel.function("do_mmap_pgoff@mm/mmap.c")'
> kernel.function("do_mmap_pgoff@mm/mmap.c:901")

It's strange. stap should give you a function entry line number, i.e.
885 in this case.



maybe  the  kernel is  a bit old :

 lsb_release -drc
Description:	CentOS release 5.4 (Final)
Release:	5.4
Codename:	Final

SO,   I  install  the   Fedora 12 , and that work:

stap -L 'kernel.statement("do_mmap_pgoff@mm/mmap.c")'
kernel.statement("do_mmap_pgoff@mm/mmap.c:929") $addr:long unsigned
int $file:struct file* $flags:long unsigned int $inode:struct inode*
$len:long unsigned int $mm:struct mm_struct* $pgoff:long unsigned int
$prot:long unsigned int


But  the  CentOS  5.4  is the  newset version,  and it's very
difficult to upgrade systemtap in centos(the dependence  problem),
what a pity :(


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