This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.8-36-g50bd2c2
- From: dsmith at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 9 Jul 2012 21:07:39 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.8-36-g50bd2c2
- Reply-to: systemtap at sourceware dot org
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 <dsmith@redhat.com>
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