diff options
Diffstat (limited to 'runtime/transport/transport.c')
-rw-r--r-- | runtime/transport/transport.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/transport/transport.c b/runtime/transport/transport.c index 0a959917..9aa26b79 100644 --- a/runtime/transport/transport.c +++ b/runtime/transport/transport.c @@ -21,13 +21,14 @@ #include "symbols.c" #include "../procfs.c" +static struct utt_trace *_stp_utt = NULL; + #ifdef STP_OLD_TRANSPORT #include "relayfs.c" #else #include "utt.c" #endif -static struct utt_trace *_stp_utt = NULL; static unsigned int utt_seq = 1; static int _stp_start_finished = 0; @@ -153,7 +154,7 @@ static void _stp_detach(void) _stp_pid = 0; if (!_stp_exit_flag) - utt_overwrite_flag = 1; + utt_set_overwrite(1); cancel_delayed_work(&_stp_work); wake_up_interruptible(&_stp_ctl_wq); @@ -167,7 +168,7 @@ static void _stp_attach(void) kbug("attach\n"); _stp_attached = 1; _stp_pid = current->pid; - utt_overwrite_flag = 0; + utt_set_overwrite(0); queue_delayed_work(_stp_wq, &_stp_work, STP_WORK_TIMER); } |