syscall.open
Wenji Huang
wenji.huang@oracle.com
Mon Dec 3 02:18:00 GMT 2007
Marcin Krol wrote:
> 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
Regarding self-built kernel, vmlinux need to be placed on the locations
systemtap can find. From src/README
- Systemtap looks for the debug info in these locations:
/boot/vmlinux-`uname -r`
/usr/lib/debug/lib/modules/`uname -r`/vmlinux
/lib/modules/`uname -r`/vmlinux
Regards,
Wenji
More information about the Systemtap
mailing list