syscall.open

Marcin Krol admin@domeny.pl
Sat Dec 1 11:06:00 GMT 2007


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




More information about the Systemtap mailing list