translator safety improvements

Frank Ch. Eigler fche@redhat.com
Mon Nov 27 16:56:00 GMT 2006


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



More information about the Systemtap mailing list