]> sourceware.org Git - systemtap.git/commit
Replace _stp_symbol_snprint usage with _stp_snprint_addr.
authorMark Wielaard <mjw@redhat.com>
Sun, 4 Jul 2010 21:16:21 +0000 (23:16 +0200)
committerMark Wielaard <mjw@redhat.com>
Sun, 4 Jul 2010 21:16:21 +0000 (23:16 +0200)
commit26bb66984c3fba25abca8ebb9816a24930676a16
tree7519c92fbcc11e83b8fe5c526b14a2be5cabd140
parent4f86e1fbd98bd4d73d0e5a4e140767a4c13475cd
Replace _stp_symbol_snprint usage with _stp_snprint_addr.

_stp_snprint_addr is a more generic version of _stp_symbol_snprint.
[u]symdata is now also slightly more exact is offset/sizes returned.

* runtime/sym.c (_stp_symbol_snprint): Removed.
* runtime/sym.h (_STP_SYM_DATA): New define for sym/mod/off/size.
* tapset/context-symbols.stp (probefunc): Use _stp_snprint_addr with
  _STP_SYM_SYMBOL.
  (symname): Likewise.
  (symdata): Use _stp_snprint_addr with _STP_SYM_DATA.
* tapset/ucontext-symbols.stp (usymname): Use _stp_snprint_addr with
  _STP_SYM_SYMBOL.
  (usymdata): Use _stp_snprint_addr with _STP_SYM_DATA.
* testsuite/systemtap.context/uprobe_uaddr.exp: Tweak result_funcs match.
runtime/sym.c
runtime/sym.h
tapset/context-symbols.stp
tapset/ucontext-symbols.stp
testsuite/systemtap.context/uprobe_uaddr.exp
This page took 0.027209 seconds and 5 git commands to generate.