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


Can you check your tapset/ioblock.stp to see if you have this probe
ioblock.request() ?

If you don't, and you have ioblock.submit() instead, it means you have
an earlier version of tapset. In that case, you can try this modified
script.

#! stap

probe begin {
   printf("DEVNAME\tSECTOR\tRW\n")
}

probe ioblock.submit {
   printf("%s\t%d\t%d\n", devname, sector, rw)
}

probe ioblock.end {
    printf("%s\t%d\t%d\n", devname, sector, rw)
}


Thang


>-----Original Message-----
>From: Badari Pulavarty [mailto:pbadari@gmail.com]
>Sent: Friday, October 27, 2006 1:25 PM
>To: Nguyen, Thang P
>Cc: Mike Mason; Vara Prasad; William Cohen; SystemTAP
>Subject: 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]