Pointer chain paranoia
Mike Mason
mmlnx@us.ibm.com
Tue Nov 14 18:33:00 GMT 2006
I'm looking for opinions from the systemtap community... How paranoid should we be when following pointer chains in tapsets and scripts? I think we should use deref() unless we're absolutely sure there's no chance of referencing a null or bad pointer, but, of course, that'll add a lot of code. I'm not sure how you can ever be absolutely sure, particularly for longer chains. What guidance should we give tapset and script writers?
Mike
More information about the Systemtap
mailing list