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


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


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