public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Anyone tried SystemTap with the latest RHEL5 Beta refresh
@ 2006-10-26 18:28 Vara Prasad
  2006-10-26 20:39 ` Mike Mason
  2006-10-26 22:09 ` Frank Ch. Eigler
  0 siblings, 2 replies; 38+ messages in thread
From: Vara Prasad @ 2006-10-26 18:28 UTC (permalink / raw)
  To: William Cohen, SystemTAP

One of my colleague tried SystemTap on x86_64 machine got the following 
error
stap -g ioblock.stp
while: registering probe alias ioblock.submit = 
kernel.function("submit_bio")
semantic error: duplicate probe point pattern
while: registering probe alias ioblock.end = kernel.function("bio_endio")
semantic error: duplicate probe point pattern
Pass 2: analysis failed.  Try again with more '-v' (verbose) options.


I dont have the setup to debug his problem, was wondering if anyone has 
experienced these problems.
He is using stock RHEL 5 setup. I thought we now bundle everything 
needed in RHEL5, correct.
Does he needs to download any additional packages?

Thanks for your help,
Vara Prasad

^ permalink raw reply	[flat|nested] 38+ messages in thread
* RE: Anyone tried SystemTap with the latest RHEL5 Beta refresh
@ 2006-10-26 20:43 Nguyen, Thang P
  2006-10-27  0:39 ` Li Guanglei
  2006-10-27 20:25 ` Badari Pulavarty
  0 siblings, 2 replies; 38+ messages in thread
From: Nguyen, Thang P @ 2006-10-26 20:43 UTC (permalink / raw)
  To: Mike Mason, Vara Prasad; +Cc: William Cohen, SystemTAP

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

>-----Original Message-----
>From: systemtap-owner@sourceware.org [mailto:systemtap-
>owner@sourceware.org] On Behalf Of Mike Mason
>Sent: Thursday, October 26, 2006 1:39 PM
>To: Vara Prasad
>Cc: William Cohen; SystemTAP
>Subject: Re: Anyone tried SystemTap with the latest RHEL5 Beta refresh
>
>Looks like he's trying to run the ioblock tapset file directly?  That
won't
>work.  Stap ends up loading ioblock.stp twice which results in the
>duplicate probe errors. He needs to write a script that uses the
ioblock
>tapset probes.
>
>- Mike
>
>Vara Prasad wrote:
>> One of my colleague tried SystemTap on x86_64 machine got the
following
>> error
>> stap -g ioblock.stp
>> while: registering probe alias ioblock.submit =
>> kernel.function("submit_bio")
>> semantic error: duplicate probe point pattern
>> while: registering probe alias ioblock.end =
kernel.function("bio_endio")
>> semantic error: duplicate probe point pattern
>> Pass 2: analysis failed.  Try again with more '-v' (verbose) options.
>>
>>
>> I dont have the setup to debug his problem, was wondering if anyone
has
>> experienced these problems.
>> He is using stock RHEL 5 setup. I thought we now bundle everything
>> needed in RHEL5, correct.
>> Does he needs to download any additional packages?
>>
>> Thanks for your help,
>> Vara Prasad
>>

^ permalink raw reply	[flat|nested] 38+ messages in thread
* RE: Anyone tried SystemTap with the latest RHEL5 Beta refresh
@ 2006-10-27 21:05 Nguyen, Thang P
  0 siblings, 0 replies; 38+ messages in thread
From: Nguyen, Thang P @ 2006-10-27 21:05 UTC (permalink / raw)
  To: Badari Pulavarty; +Cc: Mike Mason, Vara Prasad, William Cohen, SystemTAP

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

^ permalink raw reply	[flat|nested] 38+ messages in thread
* RE: Anyone tried SystemTap with the latest RHEL5 Beta refresh
@ 2006-11-01 18:51 Stone, Joshua I
  0 siblings, 0 replies; 38+ messages in thread
From: Stone, Joshua I @ 2006-11-01 18:51 UTC (permalink / raw)
  To: Frank Ch. Eigler, David Wilder; +Cc: systemtap

On Wednesday, November 01, 2006 10:13 AM, Frank Ch. Eigler wrote:
> Hi -
> 
> On Wed, Nov 01, 2006 at 10:41:56AM -0800, David Wilder wrote:
> 
>> [...]  Why not package the debuginfo "vmlinux" with the kernel rpm?
>> [...]  ure this will increase the size of the kernel package by
>> about 40Meg, but the full debug info package is closer to 150Meg.
> 
> Don't forget about debug information for the modules.  For a random
> FC5 kernel, that adds another 300MB (uncompressed).
> 
> - FChE

I wonder -- could we have some sort of simplified debuginfo shipped for
systemtap?  I'm thinking just an rpm package that contains the debuginfo
necessary to resolve all of the shipped tapsets.  This
'systemtap-tapset-debuginfo' package would be version-matched to the
kernel AND systemtap though, which I suppose might be problematic.

It doesn't matter much what the format of this cache is, but the tapsets
touch such a small subset of the full debuginfo that we could probably
even get away with XML files.

Hopefully the tapsets provide enough framework that you could do some
reasonable debugging from this alone.  Only when you need to go above &
beyond this would you need to install the full kernel-debuginfo.


Josh

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2006-11-03  0:35 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-26 18:28 Anyone tried SystemTap with the latest RHEL5 Beta refresh Vara Prasad
2006-10-26 20:39 ` Mike Mason
2006-10-26 22:09 ` Frank Ch. Eigler
2006-10-26 20:43 Nguyen, Thang P
2006-10-27  0:39 ` Li Guanglei
2006-10-27 20:25 ` Badari Pulavarty
2006-10-27 21:48   ` Frank Ch. Eigler
2006-10-30 18:28     ` Vara Prasad
2006-10-30 18:33       ` Frank Ch. Eigler
2006-10-31 23:15         ` Vara Prasad
2006-11-01  1:37           ` Tim Bird
2006-11-01  2:13           ` Frank Ch. Eigler
2006-11-01  6:51             ` Gerrit Huizenga
2006-11-01  8:56             ` Ken Robson
2006-11-01 12:40               ` Frank Ch. Eigler
2006-11-01 17:20                 ` David Wilder
2006-11-01 18:06                   ` David Smith
2006-11-01 18:12                     ` David Wilder
2006-11-01 18:23                       ` Frank Ch. Eigler
2006-11-01 18:27                         ` David Wilder
2006-11-01 19:31                           ` Frank Ch. Eigler
2006-11-01 19:07                       ` David Smith
2006-11-01 19:09                         ` David Wilder
2006-11-01 19:54                         ` Vara Prasad
2006-11-01 20:39                     ` Michael K. Dolan Jr.
2006-11-01 20:40                     ` Michael K. Dolan Jr.
2006-11-01 20:04             ` Vara Prasad
2006-11-01 21:11               ` Keshavamurthy, Anil S
2006-11-01 21:36                 ` Badari Pulavarty
2006-11-01 23:47           ` William Cohen
2006-11-02 19:09             ` Badari Pulavarty
2006-11-02 19:18               ` Frank Ch. Eigler
2006-11-02 23:53                 ` David Boreham
2006-11-02 23:55                 ` Badari Pulavarty
2006-11-03  0:35                   ` David Boreham
2006-11-03  2:22                   ` Frank Ch. Eigler
2006-10-27 21:05 Nguyen, Thang P
2006-11-01 18:51 Stone, Joshua I

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).