This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]