From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8245 invoked by alias); 20 May 2009 21:57:31 -0000 Received: (qmail 8218 invoked by uid 9586); 20 May 2009 21:57:29 -0000 Date: Wed, 20 May 2009 21:57:00 -0000 Message-ID: <20090520215729.8207.qmail@sourceware.org> From: jistone@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.7-152-g29e2616 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 7872a5b9d76dc78d8956de3d2a11757783121674 X-Git-Newrev: 29e2616aeeb82605a6efe1dbc574b499781eafbe 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-q2/txt/msg00246.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 29e2616aeeb82605a6efe1dbc574b499781eafbe (commit) from 7872a5b9d76dc78d8956de3d2a11757783121674 (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 29e2616aeeb82605a6efe1dbc574b499781eafbe Author: Josh Stone Date: Wed May 20 14:46:25 2009 -0700 PR10177: init/kill time in sleepy context only Previously, _stp_init_time and _stp_kill_time were being called from begin/end/error probes, which will run with preemption disabled. The BUG reported on RT kernels showed that cpufreq_unregister_notifier can end up sleeping, which violates our preemption block. This patch moves the init/kill into systemtap_module_init/exit, where it is safe to sleep. The code maintains a new predicate with the define STAP_NEED_GETTIMEOFDAY, so we don't still incur any timer overhead if it's not used. ----------------------------------------------------------------------- Summary of changes: tapset/timestamp_gtod.stp | 17 ++--------------- testsuite/buildok/gtod_init.stp | 13 +++++++++++++ testsuite/buildok/gtod_noinit.stp | 13 +++++++++++++ testsuite/systemtap.base/gtod_init.exp | 29 ----------------------------- translate.cxx | 14 ++++++++++++++ 5 files changed, 42 insertions(+), 44 deletions(-) create mode 100755 testsuite/buildok/gtod_init.stp create mode 100755 testsuite/buildok/gtod_noinit.stp delete mode 100644 testsuite/systemtap.base/gtod_init.exp hooks/post-receive -- systemtap: system-wide probe/trace tool