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.7-188-g36de3b6
- From: dsmith at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 27 Apr 2012 20:44:11 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.7-188-g36de3b6
- 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 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 <dsmith@redhat.com>
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
<linux/task_work.h> 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