From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32393 invoked by alias); 19 Sep 2011 13:56:14 -0000 Received: (qmail 32364 invoked by uid 9112); 19 Sep 2011 13:56:13 -0000 Date: Mon, 19 Sep 2011 13:56:00 -0000 Message-ID: <20110919135612.32353.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.6-227-g967ec1f X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 52dd8bd8b27650431f3362312411891fde7b3c58 X-Git-Newrev: 967ec1f55256eb2d601ce0be5916bb46085f36db 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: 2011-q3/txt/msg00275.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 967ec1f55256eb2d601ce0be5916bb46085f36db (commit) from 52dd8bd8b27650431f3362312411891fde7b3c58 (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 967ec1f55256eb2d601ce0be5916bb46085f36db Author: Mark Wielaard Date: Mon Sep 19 15:42:19 2011 +0200 Remove arch specific _stp_probing_32bit_app() and _stp_get_regparm(). Both functions were doing more than necessary and didn't actually need access to the current regs. _STP_PROBE_STATE_USER_MODE tells us whether the current probe triggered in user mode. _stp_is_compat_task() tells us whether the current task is a 32-on-64 process. * runtime/compatdefs.h (_stp_is_compat_task): Defined also when CONFIG_COMPAT is undefined (to always return false). * runtime/loc2c-runtime.h: u_fetch_register() and u_store_register() are only called from user space dwarf context. Only needs _stp_is_compat_task() test. * runtime/regs.c: Remove arch specific _stp_probing_32bit_app() and _stp_get_regparm() functions. * tapset/i386/registers.stp (_stp_arg): Check regparm directly. * tapset/powerpc/registers.stp (probing_32bit_app): Use _stp_is_compat_task() test. * tapset/s390/registers.stp (probing_32bit_app): Likewise. * tapset/x86_64/registers.stp (_stp_arg): Check regparm directly. (probing_32bit_app): Use _stp_is_compat_task() test. (regparm): Likewise. ----------------------------------------------------------------------- Summary of changes: runtime/compatdefs.h | 7 +++++++ runtime/loc2c-runtime.h | 4 ++-- runtime/regs.c | 37 ------------------------------------- tapset/i386/registers.stp | 9 ++++++++- tapset/powerpc/registers.stp | 2 +- tapset/s390/registers.stp | 5 ++--- tapset/x86_64/registers.stp | 18 +++++++++++++----- 7 files changed, 33 insertions(+), 49 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool