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: [PATCH] kprobes for s390 architecture


On Fri, Jul 07, 2006 at 03:51:23PM -0400, Frank Ch. Eigler wrote:
> Heiko Carstens <heiko.carstens@de.ibm.com> writes:
> 
> > [...]
> > > It works, and I guess at this point is the only way to do it. I'll send out a 
> > > full patch with this and the other cleanups later.
> > 
> > How fast is this if you have to exchange several hundred instructions?
> 
> That's a very appropriate question.  Related to it is in general how
> fast is it to insert and remove ordinary breakpoints on even non-s390
> platforms.  Several RH folks recently found that
>     probe kernel.function("*") {}
> took only a few seconds to insert the probes, but a few *minutes* to
> remove them at session shutdown.

Maybe it would make sense to batch large numbers of arms/disarms? It would be 
up to the module writer to understand that they were inserting a large number
of probes at once and pass a list of probe structures for example.


- Mike


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