This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.2-359-g0eed5d6
- From: mark at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 28 Jun 2010 09:22:22 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.2-359-g0eed5d6
- Reply-to: systemtap at sourceware dot org
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "systemtap: system-wide probe/trace tool".
The branch, master has been updated
via 0eed5d6b2fd32e4366fc43f3c616128a92a07c2d (commit)
via 32b339888bc890390070882c48d9506cc73eca55 (commit)
via a56ac70bb4b840409cd5c9b52a3d28873a84efe4 (commit)
via e190db440ccd55e3e63a1fddbb1961d344bdce0c (commit)
via a049e3425e6fe671623dc2fe0eb6d959441b234c (commit)
via 39e0508c6b18afcc1d1eb439f7fc469b859d5100 (commit)
via 012f162e659835b8e9da855dee71ab8a844c4a4c (commit)
via 369ac796c222c3b4cd14161c75065a2c087a3e9b (commit)
via 6b5a3243531e7b61d5be09a91ab31b91ba98e1e4 (commit)
from eaa985518ac15debf8c072c8b160f99e3b7072d1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0eed5d6b2fd32e4366fc43f3c616128a92a07c2d
Merge: eaa985518ac15debf8c072c8b160f99e3b7072d1 32b339888bc890390070882c48d9506cc73eca55
Author: Mark Wielaard <mjw@redhat.com>
Date: Mon Jun 28 11:20:00 2010 +0200
Merge branch 'usym'
commit 32b339888bc890390070882c48d9506cc73eca55
Author: Mark Wielaard <mjw@redhat.com>
Date: Sun Jun 27 21:30:53 2010 +0200
Don't resolve symbols unnecessarily and don't suppress things from backtrace.
We were always doing symbol lookups of addresses in a backtrace, even when
the user only wanted the addresses. If we couldn't find an symbol associated
with an address in the backtrace we just tried again and reported the next
address/symbol we could find. It really is better to always report all
addresses we think are part of a backtrace. It is more efficient, and more
truthful.
* runtime/sym.c (_stp_func_print): Don't report whether name lookup
succeeded. Only lookup symbol names when requested.
* runtime/stack-x86_64.c (_stp_stack_print_fallback): Report all addresses
found.
* runtime/stack-i386.c (_stp_stack_print_fallback): Likewise.
(__stp_stack_print): Mark frame based addresses as inexact.
commit a56ac70bb4b840409cd5c9b52a3d28873a84efe4
Author: Mark Wielaard <mjw@redhat.com>
Date: Sun Jun 27 22:50:37 2010 +0200
Use -w --ldd in exelib.exp tests. Allow "startup" functions to leak through.
* testsuite/systemtap.exelib/libmarkunamestack.tcl: Spawn stap with -w --ldd.
Allow startup functions (like _start and _main) in backtrace.
* testsuite/systemtap.exelib/ustack.tcl: Likewise.
commit e190db440ccd55e3e63a1fddbb1961d344bdce0c
Author: Mark Wielaard <mjw@redhat.com>
Date: Sun Jun 27 17:36:58 2010 +0200
Remove unused argument namebuf for _stp_kallsym_lookup.
* runtime/sym.c (_stp_kallsyms_lookup): Remove char *namebuf argument.
(_stp_print_symbol): Don't call _stp_kallsyms_lookup with NULL namebuf.
(_stp_func_print): Likewise.
(_stp_symbol_snprint): Likewise.
commit a049e3425e6fe671623dc2fe0eb6d959441b234c
Author: Mark Wielaard <mjw@redhat.com>
Date: Sun Jun 27 14:18:33 2010 +0200
Split _stp_module_relocate into kernel and user space lookup functions.
Simplify relocation logic by splitting kernel and user space module lookups.
* runtime/sym.h (_stp_module_relocate): Split into ...
(_stp_kmodule_relocate): ... this for kernel module lookups and ...
(_stp_umodule_relocate): ... this for user space lookups.
* runtime/sym.c: Likewise.
(_stp_module_check): Use _stp_kmodule_relocate.
* dwflpp.cxx (dwflpp::emit_address): Use _stp_kmodule_relocate or
_stp_umodule_relocate as appropriate.
* tapsets.cxx (dwarf_derived_probe_group::emit_module_init): Use
_stp_kmodule_relocate for kprobes.
commit 39e0508c6b18afcc1d1eb439f7fc469b859d5100
Merge: 012f162e659835b8e9da855dee71ab8a844c4a4c 37e088a1fca8468a60edabf9ec4559260ae9c359
Author: Mark Wielaard <mjw@redhat.com>
Date: Sun Jun 27 13:01:02 2010 +0200
Merge branch 'master' into usym
commit 012f162e659835b8e9da855dee71ab8a844c4a4c
Author: Mark Wielaard <mjw@redhat.com>
Date: Fri Jun 25 16:04:12 2010 +0200
Rename _stp_stack_snprint to _stp_stack_hexstring.
_stp_stack_snprint() was only used to get the hex string of a backtrace.
So rename it to make that clear and simplify it by not calling through
the full _stp_stack_print(). Simplify _stp_stack_print() a bit since it
now doesn't need to handle "hex string only" backtraces.
* runtime/stack.c (_stp_stack_print): Just handle the SYM_VERBOSE_FULL
and SYM_VERBOSE_BRIEF cases. SYM_VERBOSE_NONE isn't supported directly
anymore.
(_stp_stack_snprint): Rename to ...
(_stp_stack_hexstring): ... this. Remove now unused verbose argument.
Just handle hexstring backtrace only, call through to __stp_stack_print.
* tapset/context-unwind.stp (print_backtrace): Explicitly use
SYM_VERBOSE_FULL.
(backtrace): Use _stp_stack_hexstring().
* tapset/ucontext-unwind.stp (ubacktrace): Likewise.
commit 369ac796c222c3b4cd14161c75065a2c087a3e9b
Author: Mark Wielaard <mjw@redhat.com>
Date: Fri Jun 25 12:00:42 2010 +0200
Combine _stp_symbol_print and _stp_usymbol_print into _stp_print_symbol.
These functions did exactly the same, except the usymbol one took a
task_struct. Combine them and use task_struct being NULL as indicator
for wanting kernel/module symbols.
* runtime/sym.c (_stp_symbol_print): Combine with...
(_stp_usymbol_print): ... this into ...
(_stp_print_symbol): combined function.
* tapset/context-symbols.stp (print_stack): Call _stp_print_symbol with NULL.
* tapset/ucontext-symbols.stp (print_ustack): Call _stp_print_symbol with tsk.
* runtime/stack.c (_stp_stack_print): Use _stp_print_symbol.
(_stp_stack_print_tsk): Likewise.
* runtime/stack-arm.c (__stp_stack_print): Likewise.
* runtime/stack-ia64.c (__stp_show_stack_sym): Likewise.
* runtime/stack-ppc.c (__stp_stack_print): Likewise.
* runtime/stack-s390.c (__stp_show_stack): Likewise.
commit 6b5a3243531e7b61d5be09a91ab31b91ba98e1e4
Author: Mark Wielaard <mjw@redhat.com>
Date: Thu Jun 24 18:19:35 2010 +0200
Split _stp_mod_sec_lookup into _stp_kmod_sec_lookup and _stp_umod_lookup.
* runtime/sym.c (_stp_mod_sec_lookup): Split into...
(_stp_kmod_sec_lookup): ... for kernel/module lookup and ...
(_stp_umod_lookup): For user space/vma lookup.
(_stp_kallsyms_lookup): Use either of the above and calculate rel_addr.
* runtime/unwind.c (unwind): Call either _stp_umod_lookup or
_stp_kmod_sec_lookup.
* tapset/context-symbols.stp (probemod): Use _stp_kmod_sec_lookup.
(modname): Likewise.
-----------------------------------------------------------------------
Summary of changes:
dwflpp.cxx | 8 +-
runtime/stack-arm.c | 2 +-
runtime/stack-i386.c | 6 +-
runtime/stack-ia64.c | 2 +-
runtime/stack-ppc.c | 6 +-
runtime/stack-s390.c | 6 +-
runtime/stack-x86_64.c | 4 +-
runtime/stack.c | 88 ++++---
runtime/sym.c | 283 ++++++++++------------
runtime/sym.h | 10 +-
runtime/unwind.c | 10 +-
tapset/context-symbols.stp | 8 +-
tapset/context-unwind.stp | 4 +-
tapset/ucontext-symbols.stp | 2 +-
tapset/ucontext-unwind.stp | 4 +-
tapsets.cxx | 2 +-
testsuite/systemtap.exelib/libmarkunamestack.tcl | 8 +-
testsuite/systemtap.exelib/ustack.tcl | 6 +-
18 files changed, 234 insertions(+), 225 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool