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] |
I think rather, since your additions are defining interesting things to *do*, that they should be presented as functions. The @1/@2 parameterization can be function args, as can the frame pointer. Then if needed, add the PyEval_GetFrame() argument to the existing sdt probes or some new eventful probe.
Then with refactored, more-general utility functions, we can write specific example scripts that do as your specific probes are doing, searching and printing vars, backtracing specific function calls, etc.
Attachment:
celsius-bt.stp
Description: Text document
Attachment:
celsius-var.stp
Description: Text document
Attachment:
ceval.patch
Description: Text document
Attachment:
python.stp
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |