]> sourceware.org Git - systemtap.git/commit
PR12947 Properly track the creation of probes using hardware breakpoints
authorWilliam Cohen <wcohen@redhat.com>
Wed, 6 Jul 2011 14:06:42 +0000 (10:06 -0400)
committerWilliam Cohen <wcohen@redhat.com>
Wed, 6 Jul 2011 14:06:42 +0000 (10:06 -0400)
commit43650b10c3f42dedb0d83ce7ecff4957be49ef90
tree1975488879e402732ee9e23274d11f0725ebd151
parent152a11e05d993c6cfd77422599ec6973b838ca9a
PR12947 Properly track the creation of probes using hardware breakpoints

The logic for creation of probes using hardware breakpoints was incorrect.
The register_wide_hw_breakpoint() can return error codes in place of the
pointer. The value of the pointer needs to be checked to determine
whether it is the range of values indicating an error. The setup
code also needs to properly track whether the registration was completed
on a probe, so the shutdown code only calls unregister_wide_breakpoint()
for the probes that are actually registered.
tapsets.cxx
This page took 0.026782 seconds and 5 git commands to generate.