This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
RE: Anyone tried SystemTap with the latest RHEL5 Beta refresh
- From: Badari Pulavarty <pbadari at gmail dot com>
- To: "Nguyen, Thang P" <thang dot p dot nguyen at intel dot com>
- Cc: Mike Mason <mmlnx at us dot ibm dot com>, Vara Prasad <prasadav at us dot ibm dot com>, William Cohen <wcohen at redhat dot com>, SystemTAP <systemtap at sources dot redhat dot com>
- Date: Fri, 27 Oct 2006 13:24:55 -0700
- Subject: RE: Anyone tried SystemTap with the latest RHEL5 Beta refresh
- References: <9AE298E00BCF7B469C04BE82FCE78B8701C74AAD@scsmsx414.amr.corp.intel.com>
On Thu, 2006-10-26 at 13:43 -0700, Nguyen, Thang P wrote:
> For example:
>
> > stap ioblock_script.stp
>
> ------ ioblock_script.stp ----
> #! stap
>
> probe begin {
> printf("DEVNAME\tSECTOR\tRW\n")
> }
> probe ioblock.request {
> printf("%s\t%d\t%s\n", devname, sector, bio_rw_str(rw))
> }
> probe ioblock.end {
> printf("%s\t%d\t%s\n", devname, sector, bio_rw_str(rw))
> }
>
> Thang
Okay, I just tried it on my x86_64 RHEL5 Beta machine
(2.6.18-1.2714.el5) ..
# stap iostp.stp
semantic error: probe point mismatch at position 1 (alternatives: end
submit)
while: resolving probe point ioblock.request
semantic error: libdwfl failure (dwfl_linux_kernel_report_kernel): No
such file or directory
Ensure kernel debuginfo is installed
while: resolving probe point kernel.function("bio_endio")
semantic error: no match for probe point
while: resolving probe point ioblock.end
Pass 2: analysis failed. Try again with more '-v' (verbose) options.
Thanks,
Badari