From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21668 invoked by alias); 19 Sep 2009 01:40:40 -0000 Received: (qmail 21643 invoked by uid 426); 19 Sep 2009 01:40:39 -0000 Date: Sat, 19 Sep 2009 01:40:00 -0000 Message-ID: <20090919014038.21630.qmail@sourceware.org> From: fche@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.9-384-g8faa1fc X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: ba01c24c38c098ae93cf62b239f03e824b5f5600 X-Git-Newrev: 8faa1fc5f98ccb87beb2e71c0ce087278a950dde 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: 2009-q3/txt/msg00297.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 8faa1fc5f98ccb87beb2e71c0ce087278a950dde (commit) from ba01c24c38c098ae93cf62b239f03e824b5f5600 (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 8faa1fc5f98ccb87beb2e71c0ce087278a950dde Author: Frank Ch. Eigler Date: Fri Sep 18 21:31:06 2009 -0400 PR10655 part 1: uprobes: track sdt semaphores properly commit 6846cfc8 introduced an unintended side-effect where semaphore tracking was identified with stap_uprobe_specs[] elements, which are normally static/const. This kernel patch catches and panics on this. The cure is to move the variable over to the stap_uprobes[] array. * tapsets.cxx (uprobe emit_module_decls): Add sdt_sem_address to stap_uprobe{} struct, to contain per-process relocated semaphore address. (emit_module_decls,_init): Remove tsk field, restore constness of appropriate locals. Activate uprobe semaphore right around uprobe activation time. Remove semaphore clearing upon process exit, since by then it's gone. (emit_module_exit): Use remembered relocated semaphore address to clean up. Fix "-uprobe" DEBUG_UPROBES message. * runtime.h: #include . * dtrace.in (*_semaphore): Make it an unsigned short - intended 16 bits on all common architectures/multilibs. ----------------------------------------------------------------------- Summary of changes: dtrace.in | 6 ++- runtime/runtime.h | 1 + tapsets.cxx | 82 ++++++++++++++++++++++++++++++---------------------- 3 files changed, 52 insertions(+), 37 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool