This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
How to probe external modules?
- From: Wei Li <wei_li at acm dot org>
- To: systemtap at sources dot redhat dot com
- Date: Fri, 30 May 2008 14:48:04 +0800
- Subject: How to probe external modules?
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:sender; bh=WdE5+QEYfUP5s3DrJWucoOwb3s7WzAUrDLonSjPsZFY=; b=UjH37Inh3EnGzPZVTJJktebpioQZgSBYz6oDSOlVTRHnp8buJoQoVoxXcA89QSrC+gVkwLfjPZMK9hW/rFSLrPqdg6s5bfPdYWYvydh6ymk5hXQQb/vtxw8QE1evIWbes0DJlgZHEdFn3L4olQtIlbtzCIflufQjFAcngOPWe24=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding:sender; b=lid+J5Vpf6zB9iudRDbpP5ncFzC2qpEzEEtT8iKQoMJvTxXEJLEfjDvWYoQBD7kd+oz4oSiA+Cj4YnqZk3Kmn2Icw3Yp8jvACsa/qtjAE9BECJzFs/m5iK0WnMbvkqwx+MrpY5aadGxJjkiZs7lUi8kY9Ggy1Hc1crrZ4qWx6s0=
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.
--
Wei Li <wei_li@acm.org>