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: Better handling of arguments/literals from the command-line?


On Sun, Oct 05, 2008 at 10:47:09AM +0200, Mark Wielaard wrote:
> 
> It is less than 10 seconds on my machine, but still some seconds. Which
> does indeed seem somewhat long if we can find the cached files
> eventually.
> 

Really?  I wonder why it takes so long on my system.  (An X61s laptop,
with an 1.6Ghz Intel Core 2 Duo, 2gigs memory, 7200rpm hard drive)
What sort of system do you have?  Is there some way the initial
compilation can be sped up?  I considered it rather disturbing that it
was taking so long; at greater than 10-15 seconds, usability design
really demands a progress bar, and some indication of when the
systemtap script is actually executing as opposed to compiling.

> You can get that effect by using the target() function.
> And using stap -x pid or stap -c exe:

Thanks for the tip!  Yeah, that's a much more intelligent way of doing
things.

						- Ted


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