]> sourceware.org Git - systemtap.git/commit
PR10943: support @entry saving in .return probes
authorJosh Stone <jistone@redhat.com>
Wed, 30 Jun 2010 23:39:11 +0000 (16:39 -0700)
committerJosh Stone <jistone@redhat.com>
Wed, 30 Jun 2010 23:39:11 +0000 (16:39 -0700)
commit8cc799a5dece8e2358037a147458a5f9c3d9727a
tree0dcea415c8f1a83b328e3b51281cd3b336c2937b
parent23fdba572eb9e568312378bd2b560f3ba1a791d9
PR10943: support @entry saving in .return probes

* staptree.h (struct entry_op): New.
* parse.cxx (parse_entry_op): Parse @entry into an entry_op.
* elaborate.cxx, staptree.cxx, translate.cxx: Add entry_op boilerplate.
* tapsets.cxx (dwarf_var_expanding_visitor::visit_entry_op): New, save
  operand value using gen_mapped_saved_return.
  (dwarf_var_expanding_visitor::gen_mapped_saved_return): Use a new flag
  to see if the tid is already saved, because the add_block may have
  been created by gen_kretprobe_saved_return instead.
* NEWS, stapprobes.3stap: Document it.
* testsuite/sem*/entry*.stp: Test it.
15 files changed:
NEWS
elaborate.cxx
elaborate.h
parse.cxx
stapprobes.3stap
staptree.cxx
staptree.h
tapsets.cxx
testsuite/semko/entry01.stp [new file with mode: 0755]
testsuite/semko/entry02.stp [new file with mode: 0755]
testsuite/semko/entry03.stp [new file with mode: 0755]
testsuite/semok/entry01.stp [new file with mode: 0755]
testsuite/semok/entry02.stp [new file with mode: 0755]
testsuite/semok/entry03.stp [new file with mode: 0755]
translate.cxx
This page took 0.027564 seconds and 5 git commands to generate.