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, mjw/backtrace, updated. release-1.5-194-g556ca99
- From: mark at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 26 Jul 2011 21:42:53 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, mjw/backtrace, updated. release-1.5-194-g556ca99
- 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, mjw/backtrace has been updated
via 556ca99181aec9034dcd76072ba85e7d3d5427cc (commit)
via f4eff05f664d737ece23554e9322e1f84cf20c6e (commit)
from 5ad2040b40b084356021e8bbf484a98b728865b9 (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 556ca99181aec9034dcd76072ba85e7d3d5427cc
Author: Mark Wielaard <mjw@redhat.com>
Date: Tue Jul 26 23:31:01 2011 +0200
Allow gcc to optimize away uprobe_get_pc() calls in some situations.
If a call is made to the stack-x86.c __stp_stack_print() it might
try to call uprobe_get_pc(). If this is just a kernel backtrace
then uprobes might not be loaded. Add a hint by explicitly clearing
the struct uretprobe_instance *ri variable in that cass in the
calling function _stp_stack_print() in stack.c, so that gcc
optimizes away the uprobe_get_pc() call, so that the symbol isn't
in the module anymore.
Would cause issues like:
WARNING: "uprobe_get_pc" [stap_d46895_3786.ko] undefined!
Error inserting module 'stap_d46895_3786.ko': Unknown symbol in module
commit f4eff05f664d737ece23554e9322e1f84cf20c6e
Author: Mark Wielaard <mjw@redhat.com>
Date: Tue Jul 26 23:29:48 2011 +0200
Adjust expected "no backtrace" string in context/backtrace.tcl test.
The new generic form is now "<no kernel backtrace at PROBEPOINT>".
-----------------------------------------------------------------------
Summary of changes:
runtime/stack.c | 14 +++++++++-----
testsuite/systemtap.context/backtrace.tcl | 2 +-
2 files changed, 10 insertions(+), 6 deletions(-)
hooks/post-receive
--
systemtap: system-wide probe/trace tool