Controlling probe overhead

Stone, Joshua I joshua.i.stone@intel.com
Tue Mar 13 00:02:00 GMT 2007


fche@redhat.com wrote:
>> Right now I'm treating too much overhead as a hard error, but we
>> could make it more like a forced exit instead.  This way the end
>> probes would still run, so if you have a long-running script that
>> aborts suddenly due to overhead, you can still get some sort of
>> report out of it.  [...]
> 
> Another possibility is to leave it as a hard error, but introduce
> "error" probes.  It would be an end probe that runs iff we are exiting
> in ERROR state: kind of between "end" and "never".

I like this idea.

And since I like convoluted corner cases -- what do you do if an end
probe triggers an error?


Josh



More information about the Systemtap mailing list