summaryrefslogtreecommitdiffstats
path: root/runtime/itrace.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-04-30 11:45:09 -0400
committerDave Brolley <brolley@redhat.com>2009-04-30 11:45:09 -0400
commitb03d329d5ad9d22d684b61859971a7b12b5e5104 (patch)
treec32105776a6c009ed96f5c1a2205849f8cda647d /runtime/itrace.c
parent4c797c5eaeb10d8d22501c5ad82766b69d8cf988 (diff)
parent3ba2eb82cafa938c1c3f7ef9d2da06912a49d8e0 (diff)
downloadsystemtap-steved-b03d329d5ad9d22d684b61859971a7b12b5e5104.tar.gz
systemtap-steved-b03d329d5ad9d22d684b61859971a7b12b5e5104.tar.xz
systemtap-steved-b03d329d5ad9d22d684b61859971a7b12b5e5104.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/itrace.c')
-rw-r--r--runtime/itrace.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/itrace.c b/runtime/itrace.c
index 97ba427e..68f85301 100644
--- a/runtime/itrace.c
+++ b/runtime/itrace.c
@@ -18,6 +18,7 @@
#include <linux/sched.h>
#include <linux/rcupdate.h>
#include <linux/utrace.h>
+#include "ptrace_compatibility.h"
/* PR9974: Adapt to struct renaming. */
#ifdef UTRACE_API_VERSION
@@ -143,7 +144,7 @@ static u32 usr_itrace_report_quiesce(enum utrace_resume_action action,
WARN_ON(!ui);
#ifdef UTRACE_ORIG_VERSION
- return (ui->step_flag); // XXX XXX XXX
+ return (ui->step_flag | UTRACE_ACTION_NEWSTATE);
#else
return (event == 0 ? ui->step_flag : UTRACE_RESUME);
#endif