diff options
author | Dave Brolley <brolley@redhat.com> | 2009-03-19 12:47:30 -0400 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-03-19 12:47:30 -0400 |
commit | 1ca3466b0426566a6c6ba03251d8cca3d111f170 (patch) | |
tree | 92f6c41ebb29dc4210551bfea7ebc796d7472e2d /runtime/utrace_compatibility.h | |
parent | 2855f6351e26f51953af11b17c4499df4d3d3441 (diff) | |
parent | 59b30bda24855bc46608a126efad8e150196721c (diff) | |
download | systemtap-steved-1ca3466b0426566a6c6ba03251d8cca3d111f170.tar.gz systemtap-steved-1ca3466b0426566a6c6ba03251d8cca3d111f170.tar.xz systemtap-steved-1ca3466b0426566a6c6ba03251d8cca3d111f170.zip |
Merge branch 'master' of git://sources.redhat.com/git/systemtap
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; } |