From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18464 invoked by alias); 5 Jul 2010 11:26:43 -0000 Received: (qmail 18431 invoked by uid 9112); 5 Jul 2010 11:26:42 -0000 Date: Mon, 05 Jul 2010 11:26:00 -0000 Message-ID: <20100705112642.18418.qmail@sourceware.org> From: mark@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.2-405-g467dcba X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 140be17a163dfa6beb5cf1e2f8981cb60184ed44 X-Git-Newrev: 467dcbad7832456b74cf46d1596814a0e51a0b30 Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: Reply-To: systemtap@sourceware.org X-SW-Source: 2010-q3/txt/msg00006.txt.bz2 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 467dcbad7832456b74cf46d1596814a0e51a0b30 (commit) via a1412c4f95140e2060f19f18d3a11f187388c3b4 (commit) via 1f535982f92b624de621d36e18fb092c21de9cf7 (commit) via 098024de329c2e7bf09bca4e51809b4eff5e9464 (commit) via d5dfb4051dee76f5b0c9289c2eca9461addef34d (commit) via 26bb66984c3fba25abca8ebb9816a24930676a16 (commit) via 4f86e1fbd98bd4d73d0e5a4e140767a4c13475cd (commit) via dd7e50e3052a70c1deeb99868a4ed78d55fd8889 (commit) from 140be17a163dfa6beb5cf1e2f8981cb60184ed44 (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 467dcbad7832456b74cf46d1596814a0e51a0b30 Author: Mark Wielaard Date: Mon Jul 5 13:08:07 2010 +0200 Add sprint_[u]backtrace() tapset functions. * tapset/context-unwind.stp (sprint_backtrace): New tapset function. * tapset/ucontext-unwind.stp (sprint_ubacktrace): Likewise. * testsuite/buildok/context-unwind-embedded.stp: Add sprint_backtrace test. * testsuite/buildok/ucontext-unwind-embedded.stp: Add sprint_ubacktrace test. commit a1412c4f95140e2060f19f18d3a11f187388c3b4 Author: Mark Wielaard Date: Mon Jul 5 12:58:44 2010 +0200 Make sure print_[u]stack result is terminated. Last line shouldn't have a newline and string should always be terminated. * tapset/context-symbols.stp (sprint_stack): Terminate string. * tapset/ucontext-symbols.stp (sprint_ustack): Likewise. commit 1f535982f92b624de621d36e18fb092c21de9cf7 Author: Mark Wielaard Date: Mon Jul 5 12:17:42 2010 +0200 Rework _stp_stack_hexstring into _stp_stack_sprint with sym flags. * runtime/stack.c (_stp_stack_hexstring): Renamed to ... (_stp_stack_sprint): ... this. Now takes sym flags which gets passed through. * tapset/context-unwind.stp (backtrace): Use _stp_stack_sprint, pass _STP_SYM_NONE. * tapset/ucontext-unwind.stp (ubacktrace): Likewise. commit 098024de329c2e7bf09bca4e51809b4eff5e9464 Author: Mark Wielaard Date: Mon Jul 5 11:48:35 2010 +0200 PR11778 Add sprint_stack and sprint_ustack tapset functions. New tapset functions that take a hexstring and produce a (simplified) stack as string. Simplified because otherwise it would quickly run over max string length. * runtime/sym.h (_STP_SYM_SIMPLE): New format that gives only symbol, module, offset (and newline). * tapset/context-symbols.stp (sprint_stack): New tapset function. * tapset/ucontext-symbols.stp (sprint_ustack): Likewise. * testsuite/buildok/context-symbols-embedded.stp: New sprint_stack test. * testsuite/buildok/ucontext-symbols-embedded.stp: New sprint_ustack test. commit d5dfb4051dee76f5b0c9289c2eca9461addef34d Author: Mark Wielaard Date: Mon Jul 5 11:38:05 2010 +0200 Fix _stp_snprint_addr offset, no size case. * runtime/sym.c (_stp_snprint_addr): Don't include size if not requested. commit 26bb66984c3fba25abca8ebb9816a24930676a16 Author: Mark Wielaard Date: Sun Jul 4 23:16:21 2010 +0200 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. commit 4f86e1fbd98bd4d73d0e5a4e140767a4c13475cd Author: Mark Wielaard Date: Sun Jul 4 23:02:23 2010 +0200 Fix _stp_snprint_addr hex address, module name printf arguments. * runtime/sym.c (_stp_snprint_addr): Fix arguments for hex address, module name case. commit dd7e50e3052a70c1deeb99868a4ed78d55fd8889 Author: Mark Wielaard Date: Sun Jul 4 14:47:14 2010 +0200 Introduce _stp_snprint_addr to print address/symbol into a string. * runtime/sym.c (_stp_snprint_addr): New function, derived from _stp_print_addr. (_stp_print_addr): Call through into _stp_snprint_addr. ----------------------------------------------------------------------- Summary of changes: runtime/stack.c | 20 ++-- runtime/sym.c | 118 ++++++++++------------- runtime/sym.h | 8 ++- tapset/context-symbols.stp | 59 ++++++++++-- tapset/context-unwind.stp | 30 ++++++- tapset/ucontext-symbols.stp | 58 ++++++++++-- tapset/ucontext-unwind.stp | 43 ++++++++- testsuite/buildok/context-symbols-embedded.stp | 1 + testsuite/buildok/context-unwind-embedded.stp | 1 + testsuite/buildok/ucontext-symbols-embedded.stp | 1 + testsuite/buildok/ucontext-unwind-embedded.stp | 1 + testsuite/systemtap.context/uprobe_uaddr.exp | 2 +- 12 files changed, 237 insertions(+), 105 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool