diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-03-20 09:35:44 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-03-20 09:35:44 +0100 |
commit | 9ba817408c6eb81d9ed470314cff1d2d412c4b68 (patch) | |
tree | 81cdd381dc4a9c8007102ce4465a7a2c6c016a4e /runtime/utrace_compatibility.h | |
parent | 5e94ef56760c087784e485c35521a6e438cfc3e5 (diff) | |
parent | 0cf9ea606eb7677a1241595f7568dd4a6c243ef2 (diff) | |
download | systemtap-steved-9ba817408c6eb81d9ed470314cff1d2d412c4b68.tar.gz systemtap-steved-9ba817408c6eb81d9ed470314cff1d2d412c4b68.tar.xz systemtap-steved-9ba817408c6eb81d9ed470314cff1d2d412c4b68.zip |
Merge branch 'master' into pr6866
Diffstat (limited to 'runtime/utrace_compatibility.h')
-rw-r--r-- | runtime/utrace_compatibility.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/utrace_compatibility.h b/runtime/utrace_compatibility.h index 00b841d2..4a70da42 100644 --- a/runtime/utrace_compatibility.h +++ b/runtime/utrace_compatibility.h @@ -1,6 +1,6 @@ /* * utrace compatibility defines and inlines - * Copyright (C) 2008 Red Hat Inc. + * Copyright (C) 2008-2009 Red Hat Inc. * * This file is part of systemtap, and is free software. You can * redistribute it and/or modify it under the terms of the GNU General @@ -28,6 +28,8 @@ enum utrace_resume_action { UTRACE_STOP = UTRACE_ACTION_QUIESCE, UTRACE_RESUME = UTRACE_ACTION_RESUME, UTRACE_DETACH = UTRACE_ACTION_DETACH, + UTRACE_SINGLESTEP = UTRACE_ACTION_SINGLESTEP, + UTRACE_BLOCKSTEP = UTRACE_ACTION_BLOCKSTEP, }; static inline struct utrace_attached_engine * @@ -48,6 +50,11 @@ utrace_control(struct task_struct *target, case UTRACE_STOP: return utrace_set_flags(target, engine, (engine->flags | UTRACE_ACTION_QUIESCE)); + case UTRACE_SINGLESTEP: + case UTRACE_BLOCKSTEP: + return utrace_set_flags(target, engine, + engine->flags | action); + default: return -EINVAL; } |