Controlling probe overhead
David Smith
dsmith@redhat.com
Thu Mar 15 15:35:00 GMT 2007
David Smith wrote:
>>> [...]
>>> + << " -O turn off automatic probe overload handling" <<
>>> endl
>>
>> IMO, there is no need for this option. Overload detection should
>> always be present, and tunable with the (documented?) -D parameters.
>
> I see your point and the option would be easy enough to remove. I just
> thought it would be easier to make one knob to turn everything off if
> the STP_OVERLOAD bothered your systemtap use.
>
> Hmm, another way to completely disable the STP_OVERLOAD stuff could be
> to do "stap -DSTP_OVERLOAD=0" (if I make one small change to the patch).
> I'll do that and delete the option itself.
I've made this change, but I ended up slightly modifying the above idea.
Now you can say "stap -DSTP_NO_OVERLOAD" to completely disable the
overload processing. I've attached a new patch.
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stp_overload.patch
Type: text/x-patch
Size: 6667 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20070315/e97297d5/attachment.bin>
More information about the Systemtap
mailing list