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


By the way, regarding the problem of underestimating maxactive, we
briefly considered the idea of having a system-wide pool of
kretprobe_instances to draw on in case any particular kretprobe runs
short.  But that adds a little more complexity to the implementation and
to the user interface.  (Presumably, the pool size would be a
configuration option.)

It shouldn't be too tough to prototype that -- probably just adjust
get_free_rp_inst() and recycle_rp_inst().

Jim


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