summaryrefslogtreecommitdiffstats
path: root/translate.h
diff options
context:
space:
mode:
authordsmith <dsmith>2007-03-21 19:54:14 +0000
committerdsmith <dsmith>2007-03-21 19:54:14 +0000
commit29fdb4e446261de732f2edfe76823041c3e03663 (patch)
treee10ee804d9989bf034a148d8229fb79e80d4f3bf /translate.h
parentc45f6fbff2e7e32b1b9cd4c6e726fa202a4542cf (diff)
downloadsystemtap-steved-29fdb4e446261de732f2edfe76823041c3e03663.tar.gz
systemtap-steved-29fdb4e446261de732f2edfe76823041c3e03663.tar.xz
systemtap-steved-29fdb4e446261de732f2edfe76823041c3e03663.zip
2007-03-21 David Smith <dsmith@redhat.com>
PR 4146 * tapsets.cxx (common_probe_entryfn_prologue): Added 'interruptible' parameter. If a probe is interruptible, interrupts are not disabled while the probe executes. Preemption is disabled however. Interruptible parameter defaults to false. (common_probe_entryfn_epilogue): Ditto. (be_derived_probe_group::emit_module_decl): Uses new 'interruptible' parameter to mark begin/end probes as interruptible. (probe_derived_probe_group::emit_module): Initialize 'actionremaining' with MAXACTION instead of initializing 'actioncount' with 0. * translate.cxx (emit_common_header): Renamed 'actioncount' to 'actionremaining'. Turned logic around to initialize actionremaining to MAXACTION or MAXACTION_INTERRUPTIBLE then decrement it as actions occur. (translate_pass): Added MAXACTION_INTERRUPTIBLE initialization. * translate.h: Removed outdated comment portion. * stap.1.in: Documented MAXACTION_INTERRUPTIBLE. * NEWS: Added note about begin/end probes being run with interrupts enabled.
Diffstat (limited to 'translate.h')
-rw-r--r--translate.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/translate.h b/translate.h
index ab0ad98b..eae7534f 100644
--- a/translate.h
+++ b/translate.h
@@ -58,12 +58,7 @@ struct unparser
// struct context {
// unsigned errorcount;
// unsigned busy;
- // unsigned actioncount;
- // unsigned nesting;
- // union {
- // struct { .... } probe_NUM_locals;
- // struct { .... } function_NAME_locals;
- // } locals [MAXNESTING];
+ // ...
// } context [MAXCONCURRENCY];
virtual void emit_global (vardecl* v) = 0;