This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Strange stap error...
- From: Steve Dickson <SteveD at redhat dot com>
- To: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Sat, 19 Dec 2009 12:45:34 -0500
- Subject: Strange stap error...
I'm getting the following error:
$ sudo ~/bin/stap -g inode_permission.stp
gpg: no default secret key: No secret key
gpg: signing failed: No secret key
Copy failed ("/tmp/stapwUrw9k/stap_f69367bbfe0f310d5472acdca1010f45_2000.ko" to "/home/steved/.systemtap/cache/f6/stap_f69367bbfe0f310d5472acdca1010f45_2000.ko"): No such file or directory
ERROR: Unable to canonicalize path "/tmp/stapwUrw9k/stap_f69367bbfe0f310d5472acdca1010f45_2000.ko": No such file or directory
Retrying, after attempted removal of module stap_f69367bbfe0f310d5472acdca1010f45_2000 (rc -1)
ERROR: Unable to canonicalize path "/tmp/stapwUrw9k/stap_f69367bbfe0f310d5472acdca1010f45_2000.ko": No such file or directory
Pass 5: run failed. Try again with another '--vp 00001' option.
Using the following version of stap (straight out of the git tree)
$ ~/bin/stap -V
SystemTap translator/driver (version 1.0/0.143 commit release-1.0-390-g39b375a)
Copyright (C) 2005-2009 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Using a relativity new kernel...
$ uname -a
Linux redhat 2.6.32-2.nfs41.el6.x86_64.debug #1 SMP Fri Dec 18 08:42:45 EST 2009 x86_64 GNU/Linux
With the following tap script
$ cat inode_permission.stp
probe kernel.function("inode_permission")
{
printf("inode_permission: inode %p mask 0x%x\n", $inode, $mask);
}
probe kernel.function("inode_permission").return
{
printf(" inode_permission: return %d\n", $return);
}
probe begin { log("inode_permission probe") }
probe end { log("inode_permission probe") }
any ideas?
steved.