]> sourceware.org Git - systemtap.git/commit
PR19362: fix doubled locations in probe copy-ctor
authorJosh Stone <jistone@redhat.com>
Mon, 14 Dec 2015 22:00:01 +0000 (14:00 -0800)
committerJosh Stone <jistone@redhat.com>
Mon, 14 Dec 2015 22:00:01 +0000 (14:00 -0800)
commit9ae080fa6846c74f01a28a9a62ab4c4f53846671
treed295556567fdcb306f4ba73b2b4e57c9dceaf11f
parent54d87c8ffceed3f5004aa36c53b0459cb5eb2fcd
PR19362: fix doubled locations in probe copy-ctor

Commit 1341a03cc550835d5ddab35bb9333e43bd623714 moved most of the body
of the probe::probe copy constructor to its initializer list.  However,
the push to locations was accidentally left, so this vector was both
initialized and appended, doubling all probes from here.  This showed up
in library.exp SDT probes which counted twice too many matches.
staptree.cxx
This page took 0.025328 seconds and 5 git commands to generate.