From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31755 invoked by alias); 9 Jul 2012 21:07:40 -0000 Received: (qmail 31705 invoked by uid 9156); 9 Jul 2012 21:07:39 -0000 Date: Mon, 09 Jul 2012 21:07:00 -0000 Message-ID: <20120709210739.31694.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.8-36-g50bd2c2 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 037853b4644bb6ebd68e2f1fac11c3636f551d8e X-Git-Newrev: 50bd2c22a62981ae8b7b379d48574671228f1446 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-q3/txt/msg00004.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 50bd2c22a62981ae8b7b379d48574671228f1446 (commit) from 037853b4644bb6ebd68e2f1fac11c3636f551d8e (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 50bd2c22a62981ae8b7b379d48574671228f1446 Author: David Smith Date: Mon Jul 9 16:07:22 2012 -0500 Add code to keep track of task_work callbacks to avoid a possible crash. * runtime/stp_task_work.c: New file. * runtime/stp_utrace.c (utrace_init): Move STAPCONF_TASK_WORK_ADD_EXPORTED code to stp_task_work_init(). (utrace_exit): Call stp_task_work_exit(). (utrace_cleanup): Call task_work_cancel() wrapper function. (utrace_free): Ditto. (utrace_do_stop): Call task_work_add() wrapper function. (utrace_control): Ditto. (finish_report): Ditto. (utrace_resume): Call stp_task_work_func_done(). * runtime/linux/task_finder2.c (__stp_tf_cancel_task_work): Call task_work_cancel() wrapper function. (__stp_tf_quiesce_worker): Call stp_task_work_func_done(). (__stp_utrace_task_finder_target_quiesce): Call task_work_add() wrapper function. (__stp_tf_mmap_worker): Call stp_task_work_func_done(). (__stp_utrace_task_finder_target_syscall_exit): Call task_work_add() wrapper function. ----------------------------------------------------------------------- Summary of changes: runtime/linux/task_finder2.c | 37 +++++++++++----- runtime/stp_task_work.c | 102 ++++++++++++++++++++++++++++++++++++++++++ runtime/stp_utrace.c | 62 +++++++++---------------- 3 files changed, 150 insertions(+), 51 deletions(-) create mode 100644 runtime/stp_task_work.c hooks/post-receive -- systemtap: system-wide probe/trace tool