This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
syscall.open
- From: Marcin Krol <admin at domeny dot pl>
- To: systemtap at sourceware dot org
- Date: Sat, 01 Dec 2007 12:05:53 +0100
- Subject: syscall.open
Hello everyone,
Anybody knows why this tutorial example can't run?
probe syscall.open
{
printf ("%s(%d) open (%s)\n", execname(), pid(), argstr)
}
probe timer.ms(4000) # after 4 seconds
{
exit ()
}
I took care to include following flags in kernel .config:
CONFIG_KPROBES=y
CONFIG_DEBUG_INFO=y
CONFIG_RELAY=y
CONFIG_DEBUG_FS=y
CONFIG_DEBUG_KERNEL=y
I get this error:
% stap strace-open.stp
semantic error: libdwfl failure (missing kernel debuginfo): No such file
or directory while resolving probe point kernel.function("sys_open")?
semantic error: no match while resolving probe point syscall.open
I have systemtap compiled from recent CVS, with stap elfutils compiled
according to stap README.
--
Marcin Krol