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]

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


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