]> sourceware.org Git - systemtap.git/commit
PR20416: handle @entry(@perf("..."))
authorFrank Ch. Eigler <fche@redhat.com>
Wed, 27 Jul 2016 22:43:56 +0000 (18:43 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Wed, 27 Jul 2016 22:43:56 +0000 (18:43 -0400)
commit13ffabda991955e55a47c17ccece822e14df383d
tree9929637307799c30a9c033fd86c9e099e58e757d
parent00b1dcba8034d38b14a19e6c49ef0093ac79f92d
PR20416: handle @entry(@perf("..."))

The dwarf_var_expanding_visitor::visit_entry_op function inherited
some old logic from expanding $var's in .function().return probes.
This logic is not approproate for the more formal way by which current
code synthesizes a .call probe to collect @entry(EXPR) values.  Now we
pass the EXPR tree to the .call probe unmodified, for resolution
there, rather than in a fake non-.return context here.  This makes
@entry(@perf("...")) expressions work.
tapsets.cxx
testsuite/systemtap.base/perf.exp
testsuite/systemtap.base/perf04.stp
This page took 0.029524 seconds and 5 git commands to generate.