While i want to use systemtap and i install it with the root privilege.
-------------------------------------------------------------------------
#yast –i systemtap
-------------------------------------------------------------------------
And it needs kernel-debuginfo package separately to use Debugging With Attributed Record Formats (DWARF) data.
But I can't find the kernel-debuginfo packages matching my kernel (6.27.19-5-default x86_64).
I found kernel-default-debuginfo-2.6.27.21-0.1.2.x86_64.rpm from
NOVELL: Downloads - Linux kernel 20090402
but my kernel version is : 6.27.19-5-default ;
How should I do??
And I have tried to install the packages with:
-------------------------------------------------------------------------
#yast -i kernel-default-debuginfo-2.6.27.21-0.1.2.x86_64.rpm
-------------------------------------------------------------------------
There is no warning or error.
And then , I tried to run stap with:
-------------------------------------------------------------------------
# stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}'
-------------------------------------------------------------------------
and the information is :
-------------------------------------------------------------------------
Pass 1: parsed user script and 44 library script(s) in 220usr/0sys/230real ms.
semantic error: libdwfl failure (missing kernel 2.6.27.19-5-default x86_64 debuginfo): No such file or directory while resolving probe point kernel.function("vfs_read")
semantic error: no match while resolving probe point vfs.read
semantic error: no probes found
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 10usr/0sys/4real ms.
Pass 2: analysis failed. Try again with more '-v' (verbose) options.
--------------------------------------------------------------------------
Environment:
1.SUSE Linux Enterprise Server 11 (x86_64) ---- clean installed on a host
2.suse11:~ # uname -r
6.27.19-5-default
thanks!!