]> sourceware.org Git - systemtap.git/commit
PR12609 redux: filter out duplicate probes due to partial-inining
authorFrank Ch. Eigler <fche@redhat.com>
Sat, 11 Apr 2020 00:37:06 +0000 (20:37 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Sat, 11 Apr 2020 00:43:29 +0000 (20:43 -0400)
commit13d1ba6b86e806097e8c70777474f76cee182a25
tree2afbde7de1c2b6d709749517c17e700d3efcace4
parent26a7caa171ce92d348579fe263f77acbe96ceca0
PR12609 redux: filter out duplicate probes due to partial-inining

Ever since gcc 4.7ish, partially-inlined functions can sometimes show
up as separate top-level functions named FOO.part.* in the ELF symbol
table, but identifed as ordinary function FOO in DWARF.  The latter
means that stap would probe both the partially inlined part of the
function, and the non-inlined second part, for a plain .function()
probe.  This new code suppresses the probe on the .part. one, based
on a symbol name heuristic.

Also RHBZ1169184.
tapsets.cxx
testsuite/systemtap.base/partial-inline.c [new file with mode: 0644]
testsuite/systemtap.base/partial-inline.exp [new file with mode: 0644]
testsuite/systemtap.base/partial-inline.stp [new file with mode: 0644]
This page took 0.030476 seconds and 5 git commands to generate.