This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/11739] alibi flag


------- Additional Comments From jistone at redhat dot com  2010-09-01 21:14 -------
Even the timers have their restart code outside the prologue->epilogue block, so
I think this is as simple as:

--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -79,6 +79,8 @@ void
 common_probe_entryfn_prologue (translator_output* o, string statestr,
                                string probe, bool overload_processing)
 {
+  o->newline() << "#ifndef STP_ALIBI";
+
   o->newline() << "struct context* __restrict__ c;";
   o->newline() << "#if !INTERRUPTIBLE";
   o->newline() << "unsigned long flags;";
@@ -261,6 +263,8 @@ common_probe_entryfn_epilogue (translator_output* o,
   o->newline() << "#else";
   o->newline() << "local_irq_restore (flags);";
   o->newline() << "#endif";
+
+  o->newline() << "#endif // STP_ALIBI";
 }


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


http://sourceware.org/bugzilla/show_bug.cgi?id=11739

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]