This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Default number of active kretprobes
jkenisto wrote:
> [...] Yet another possibility is per-module pools of spare
> kretprobe_instances. E.g., for each script, SystemTap could
> generate code to call (say) pool =
> alloc_kretprobe_spares_pool(nspares) [...]
It would not be a problem to do this in the translator. However, it's
also not a big deal to set maxactive to a "large" number like
NR_CPU*100 (each instance being <32 bytes, individually kmalloc'd).
- FChE