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.6-392-g8f7e7a1
- From: mark at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 8 Nov 2011 15:14:04 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.6-392-g8f7e7a1
- 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 8f7e7a1486f45cd373ecf7dd6ef0b052622496de (commit)
via 2a035dd6677bb2860d08e8fbd544a69ed21f0f95 (commit)
from 50f2545f35145304256fff87f6a0b2b4300ba4ba (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 8f7e7a1486f45cd373ecf7dd6ef0b052622496de
Author: Mark Wielaard <mjw@redhat.com>
Date: Tue Nov 8 16:06:54 2011 +0100
Make sure to test 64-on-64 for fib.exp and exelib.exp when appropriate.
The dwarf unwinder doesn't work for 32-on-64 processes. PR10272.
So make sure to at least test 64-on-64 backtraces on 64bit arches.
commit 2a035dd6677bb2860d08e8fbd544a69ed21f0f95
Author: Mark Wielaard <mjw@redhat.com>
Date: Tue Nov 8 13:50:52 2011 +0100
Split printing of kernel and user stack in separate functions.
We used to do some "clever" tricks with passing around constants that
indicated which stack we really wanted. Partly this was so gcc could
optimize out uprobe_get_pc() calls when not necessary. Which was needed
to prevent WARNING: "uprobe_get_pc" undefined! when loading the module
if uprobes wasn't available (e.g. when wanting just a kernel stack).
This was too fragile, gcc didn't always optimize out the call when not
needed. And the code wasn't particular clear. This just splits
__stp_dwarf_stack_print() into __stp_dwarf_stack_kernel_print() and
__stp_dwarf_stack_user_print() and splits _stp_stack_print() into
_stp_stack_kernel_print() and _stp_stack_user_print() (including the
sprint variants). Only the user functions will ever call uprobe_get_pc().
-----------------------------------------------------------------------
Summary of changes:
runtime/stack-dwarf.c | 58 +++++++----
runtime/stack.c | 177 +++++++++++++++++++--------------
runtime/sym.h | 5 -
tapset/context-unwind.stp | 10 +-
tapset/ucontext-unwind.stp | 12 +-
testsuite/systemtap.context/fib.exp | 7 ++
testsuite/systemtap.exelib/exelib.exp | 7 +-
7 files changed, 167 insertions(+), 109 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool