[PATCH] kprobes for s390 architecture

Frank Ch. Eigler fche@redhat.com
Mon Jul 10 14:25:00 GMT 2006


grundym wrote:

> > How fast is this if you have to exchange several hundred instructions?
>
> I'll have to do some timing tests to measure how much overhead it
> puts on the system. It's a trade off of safety vs speed. [...] 

No question, safety has to be paramount.

> The plus side is the swaps are only done on activation and
> deactivation, and don't have this kind of overhead during
> operations. [...]

Even though infrequent, we should nevertheless measure
activation/deactivation times, since it is not hard to insert and
remove thousands of kprobes in a single script.  If those times are on
the order of milliseconds, and if batching them into one operation can
allow sharing of synchronization overhead, then we will need to adopt
that.

- FChE



More information about the Systemtap mailing list