]> sourceware.org Git - systemtap.git/commit
Refactor sdt & plt pattern registration
authorJosh Stone <jistone@redhat.com>
Fri, 28 Oct 2011 22:11:17 +0000 (15:11 -0700)
committerJosh Stone <jistone@redhat.com>
Fri, 28 Oct 2011 22:11:17 +0000 (15:11 -0700)
commitb1615c74e19656b6182ff5d81c613ec9f8c57db3
treef336bc140d6757ea7f59122fe6fce07fa5bfae26
parent3d69c03f37c05136a01481994e239f1287138f6a
Refactor sdt & plt pattern registration

This factors the sdt and plt suffixes away from the various process and
process.library prefixes.  As a result, we also gain process.plt for
probing -c commands.

* tapsets.cxx (dwarf_derived_probe::register_sdt_variants): New.
  (dwarf_derived_probe::register_plt_variants): New.
  (dwarf_derived_probe::register_patterns): Register sdt and plt for all
  process/library combinations.
* testsuite/semok/plt2.stp: Test that process.plt succeeds with -c
* testsuite/semko/plt2.stp: Test that process.plt fails without -c
tapsets.cxx
testsuite/semko/plt2.stp [new file with mode: 0755]
testsuite/semok/plt2.stp [new file with mode: 0755]
This page took 0.025601 seconds and 5 git commands to generate.