This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/11739] alibi flag
- From: "jistone at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 1 Sep 2010 21:14:51 -0000
- Subject: [Bug translator/11739] alibi flag
- References: <20100622215925.11739.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.