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: 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


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