How to probe external modules?
Wenji Huang
wenji.huang@oracle.com
Fri May 30 09:53:00 GMT 2008
Wei Li wrote:
> How can I probe an external module, please? The ko is not stripped. But
> reference to it with "module("xxx")" triggered:
>
> Pass 1: parsed user script and 25 library script(s) in 120usr/40sys/170real ms.
> semantic error: cannot find module mymodule debuginfo: No such file or directory
> semantic error: no match for probe point
> while: resolving probe point module("mymodule").function("myfunc").return
> Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 global(s) in 10usr/50sys/51real ms.
> Pass 2: analysis failed. Try again with more '-v' (verbose) options.
>
> My systemtap comes with RHEL 4.4:
>
> [root@localhost ~]# stap -V
> SystemTap translator/driver (version 0.5.8 built 2006-07-14)
> (Using Red Hat elfutils 0.121 libraries.)
> Copyright (C) 2005-2006 Red Hat, Inc. and others
> This is free software; see the source for copying conditions.
>
Could you try to put .ko under /lib/modules/`uname -r`?
BTW: Upgrade systemtap to get better features.
Regards,
Wenji
More information about the Systemtap
mailing list