diff options
author | dsmith <dsmith> | 2007-03-21 19:54:14 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2007-03-21 19:54:14 +0000 |
commit | 29fdb4e446261de732f2edfe76823041c3e03663 (patch) | |
tree | e10ee804d9989bf034a148d8229fb79e80d4f3bf /translate.h | |
parent | c45f6fbff2e7e32b1b9cd4c6e726fa202a4542cf (diff) | |
download | systemtap-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.h | 7 |
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; |