This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Anyone tried SystemTap with the latest RHEL5 Beta refresh


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]