Re: systemtap, anyone?

"Arun Singh" <[email protected]>
Newsgroups gmane.linux.suse.oracle.general
Message-ID <[email protected]>
Hi Cristian,

Check If you have installed kernel debuginfo (kernel-default-debuginfo-*.rpm) package. 

PS: [email protected] has better experts for these types of questions.

-Arun

>>> On 8/1/2007 at 7:55 AM, Cristian Veronesi <[email protected]> wrote:
> Has anyone tried to use systemtap on SUSE SLES10? I was able to run a
> simple "hello world" script but I always get errors when trying to
> access kernel functions. For example, this script:
> 
> <<<
> global reads
> 
> probe begin {
>   printf("probe beginning\n")
> }
> 
> probe syscall.read {
>   reads [execname()] <<< count
> }
> 
> probe end {
>   foreach (prog_name in reads) {
>     printf("Name: %s, # Reads: %d, Total Bytes: %d, Avg: %d\n",
>             prog_name, @count(reads[prog_name]),
>             @sum(reads[prog_name]), @avg(reads[prog_name]))
>   }
> }
>>>>
> 
> Gives the following error:
> 
> semantic error: libdwfl failure (dwfl_linux_kernel_report_offline): No
> such file or directory while resolving probe point
> kernel.function("sys_read")
> semantic error: no match for probe point while resolving probe point
> syscall.read
> Pass 2: analysis failed.  Try again with more '-v' (verbose) options.
> 
> Am I missing some package?
> 
> Thank you. Kind regards,





-- 
To unsubscribe, email: [email protected]
For additional commands, email: [email protected]
Please see http://www.suse.com/oracle/ before posting
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.