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: Controlling probe overhead


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


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