From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4601 invoked by alias); 27 Apr 2012 20:44:14 -0000 Received: (qmail 4550 invoked by uid 9156); 27 Apr 2012 20:44:12 -0000 Date: Fri, 27 Apr 2012 20:44:00 -0000 Message-ID: <20120427204411.4538.qmail@sourceware.org> From: dsmith@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.7-188-g36de3b6 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: f8c056b347ee6a964df332cd0e3b151c2a312d12 X-Git-Newrev: 36de3b61c7ae68f08d72816f91e5ecddcda078fd 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: 2012-q2/txt/msg00038.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 36de3b61c7ae68f08d72816f91e5ecddcda078fd (commit) from f8c056b347ee6a964df332cd0e3b151c2a312d12 (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 36de3b61c7ae68f08d72816f91e5ecddcda078fd Author: David Smith Date: Fri Apr 27 15:43:16 2012 -0500 Use new task_work kernel feature to truly stop tasks. * buildrun.cxx (compile_pass): Add STAPCONF_TASK_WORK_ADD_EXPORTED autoconf. * runtime/autoconf-utrace-via-ftrace.c (__autoconf_func): Makes sure is present and works. * runtime/autoconf-utrace-via-tracepoints.c (__autoconf_func): Ditto. * runtime/runtime.h: Added export kludge variables for task_work_add() and task_work_cancel(). * runtime/stp_utrace.c (utrace_init): If the task_work_* functions aren't exported, use kallsyms_lookup_name() to find them. (utrace_cleanup): Cancel work function if necessary. (utrace_task_alloc): Initialize task work structure. (utrace_free): Cancel work function if necessary. (utrace_do_stop): Use task_work_add() functionality to replace set_notify_resume(). (utrace_stop): Ditto. (utrace_control): Ditto. (finish_report): Ditto. (utrace_resume): Updated to work as task worker function. * runtime/task_finder2.c (__stp_task_worker): New function. (__stp_utrace_task_finder_target_quiesce): If we can't sleep, use task_work_add() to truly stop the task. * runtime/uprobes-inode.c (stapiu_change_plus): Check build-ids. ----------------------------------------------------------------------- Summary of changes: buildrun.cxx | 3 + runtime/autoconf-utrace-via-ftrace.c | 5 + runtime/autoconf-utrace-via-tracepoints.c | 6 ++ runtime/runtime.h | 6 ++ runtime/stp_utrace.c | 123 +++++++++++++++++++++++++---- runtime/task_finder2.c | 71 +++++++++++++++-- runtime/uprobes-inode.c | 11 +++- 7 files changed, 201 insertions(+), 24 deletions(-) hooks/post-receive -- systemtap: system-wide probe/trace tool