summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/ChangeLog6
-rw-r--r--runtime/task_finder.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/runtime/ChangeLog b/runtime/ChangeLog
index 58678de5..796f812c 100644
--- a/runtime/ChangeLog
+++ b/runtime/ChangeLog
@@ -1,3 +1,9 @@
+2008-08-19 David Smith <dsmith@redhat.com>
+
+ PR 6841
+ * task_finder.c (__stp_utrace_task_finder_target_quiesce):
+ Quiesces thread before turning on syscall tracing.
+
2008-08-14 Frank Ch. Eigler <fche@elastic.org>
PR 6842.
diff --git a/runtime/task_finder.c b/runtime/task_finder.c
index 928b7087..d7450a41 100644
--- a/runtime/task_finder.c
+++ b/runtime/task_finder.c
@@ -317,7 +317,7 @@ __stp_get_mm_path(struct mm_struct *mm, char *buf, int buflen)
| UTRACE_EVENT(SYSCALL_ENTRY) \
| UTRACE_EVENT(SYSCALL_EXIT))
-#define __STP_ATTACHED_TASK_VM_EVENTS (__STP_ATTACHED_TASK_VM_BASE_EVENTS \
+#define __STP_ATTACHED_TASK_VM_EVENTS (__STP_ATTACHED_TASK_BASE_EVENTS \
| UTRACE_ACTION_QUIESCE \
| UTRACE_EVENT(QUIESCE))
@@ -608,7 +608,7 @@ __stp_utrace_task_finder_target_quiesce(struct utrace_attached_engine *engine,
{
struct stap_task_finder_target *tgt = engine->data;
- // Turn off quiesce handling.
+ // Turn off quiesce handling (and turn on syscall handling).
utrace_set_flags(tsk, engine, __STP_ATTACHED_TASK_VM_BASE_EVENTS);
if (atomic_read(&__stp_task_finder_state) != __STP_TF_RUNNING) {