]> sourceware.org Git - systemtap.git/commit
PR10208 Support probing weak symbols
authorLukas Berk <lberk@redhat.com>
Fri, 29 Nov 2013 21:34:11 +0000 (16:34 -0500)
committerLukas Berk <lberk@redhat.com>
Fri, 29 Nov 2013 21:34:11 +0000 (16:34 -0500)
commit91bb9081f0f2342d2e7df985d448ea9c9ebd34b5
tree0b459431eae5f4959d54fc30051dd2c3d07cc97e
parent45639d9644a3245466b8a2ba239ce49d50c9c474
PR10208 Support probing weak symbols

*tapsets.cxx - Now always query the symtab (unless there is a pending interrupt
       or dwarf callback error) on a function probe.  We need to be careful
       to check probe point's we've already resolved which will already
       have full debug information and to not place another probe there.
       We've removed the case of probing the symbol table on a statement probe,
       as that code was written specifically for the kernel without userspace
       in mind and was resolving the function the statement resided in (causing
       errors in some cases).

*list.exp    - Added testcase for weak symbols
*last_100_frees.stp   - we use @defined($mem) here because on 64 bit systems, the
        wildcard search takes us through both 64 bit and 32 bit libc
        (which doesn't have debuginfo), this means the probe point
        resolved from the 32 bit library has no context info
*mutex-contention.stp - ditto but for @defined($mutex) and @defined($rwlock)
tapsets.cxx
testsuite/systemtap.base/list.exp
testsuite/systemtap.examples/memory/last_100_frees.stp
testsuite/systemtap.examples/process/mutex-contention.stp
This page took 0.028441 seconds and 5 git commands to generate.