Java Mailing List Archive

http://www.dba.5341.com/

Home » Home (12/2007) » suse oracle »

[suse-oracle] systemtap, anyone?

Cristian Veronesi

2007-08-01

Replies:

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,

--
Cristian Veronesi - C.R.P.A. S.p.A. - Reggio Emilia, Italy

I dieci comandamenti dell'E-Mail: http://it.wikipedia.org/wiki/Netiquette

--
To unsubscribe, email: suse-oracle-unsubscribe@(protected)
For additional commands, email: suse-oracle-help@(protected)
Please see http://www.suse.com/oracle/ before posting

©2008 dba.5341.com - Jax Systems, LLC, U.S.A.