]> sourceware.org Git - systemtap.git/commit
monitor mode: deconflict with private global mangling
authorFrank Ch. Eigler <fche@redhat.com>
Sun, 20 Mar 2016 22:22:01 +0000 (18:22 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Sun, 20 Mar 2016 22:25:40 +0000 (18:25 -0400)
commit87103d2b32ea873721f727aaac1434e52660b713
tree077f9f15b98ca6a8a78063f8c64998b8693d4809
parentbdd164b7ef5a59922e441c3d1621223105fcf267
monitor mode: deconflict with private global mangling

The synthesized probe body for monitor mode control needs to refer to
globals that may be declared private inside a tapset, in order to
clear them.  It needs to pierce the mangling-based name-hiding, so
that when the synthetic fragment is symbol-resolved, it will find the
mangled private globals to manipulate.  This is implemented by an
optional mode-flag in the symresolution_info class to suppress
global-mangling.

The test script was:

   stap --monitor -p4 -e 'probe nd_syscall.* {}' -v
elaborate.cxx
elaborate.h
This page took 0.027109 seconds and 5 git commands to generate.