This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
translator safety improvements
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: systemtap at sources dot redhat dot com
- Date: Sun, 26 Nov 2006 18:34:14 -0500
- Subject: translator safety improvements
Hi -
I committed a small bunch of changes to the translator, in furtherance
of PR 2725 and others. The changes include:
- adding low-level locking functions to the blacklist, for avoidance
of reentrancy. If your script depended on these, let me know.
- added an available-stack-space check done at every probe handler.
This could accidentally break a few currently working scripts, by
blocking their function if the probes are placed into a too-deeply-nested
region of kernel space-time. If your script breaks, please let me know.
- added architecture/version matching at translation time to detect
debuginfo/kernel mismatches. This could accidentally break a few
platforms - see tapsets.cxx:2797.
I'm getting good results with these changes against broad kernel
probes. Doing some craa-aazy stuff with kernel.function("*") is
not far away.
- FChE