]> sourceware.org Git - systemtap.git/commit
Prefix global functions in the generated code.
authorMartin Cermak <mcermak@redhat.com>
Thu, 5 Nov 2015 20:50:55 +0000 (15:50 -0500)
committerMartin Cermak <mcermak@redhat.com>
Thu, 5 Nov 2015 20:50:55 +0000 (15:50 -0500)
commit8f54215ef850c8099f5a160f0c9a70768aa05ce1
tree8afec82099eb3962b6d9ceb5519c3f3d9deb8c08
parent0d7d53dd805f636278858651a649d57fb87ba6c8
Prefix global functions in the generated code.

Add '__global_' prefix to global functions in the generated code.
Treat selected internal synthetic functions as private.
Fix using a private function in user script and test-cover it.

* elaborate.cxx: Correctly match global function names to respective
  functiondecls. Match synthetic private functions coming from
  tapset-procfs.cxx (*_procfs_value_*), and tapsets.cxx
  (_sdt_arg_get_addr_) to respective functiondecls.
* main.cxx: Update the --dump-functions feature to correctly deal with
  new internal function names.
* parse.cxx: Add the "__global_" prefix to global functions in the
  generated code.
* staptree.cxx: Update functiondecl::printsig() so that it outputs
  unmangled function name.
* tapset-procfs.cxx: Treat internal synthetic functions
  '*_procfs_value_get*', '*_procfs_value_set*', '*_procfs_value_append*'
  as private.
* tapsets.cxx: Treat internal synthetic functions '*_sdt_arg_get_addr_*'
  as private.
* optim_arridx.exp: Adapt the testcase to new naming.
* private.exp: Add subtest examining use of a private function in
  user script.
elaborate.cxx
main.cxx
parse.cxx
staptree.cxx
tapset-procfs.cxx
tapsets.cxx
testsuite/systemtap.base/optim_arridx.exp
testsuite/systemtap.base/private.exp
This page took 0.030665 seconds and 5 git commands to generate.