//INSTRUMENTATION CODEGEN END
#endif //FS_MEASURE
+#ifdef DEBUG
kernelPanicEvent = new BreakPCEvent(&pcEventQueue, "kernel panic");
consolePanicEvent = new BreakPCEvent(&pcEventQueue, "console panic");
+#endif
badaddrEvent = new BadAddrEvent(&pcEventQueue, "badaddr");
skipPowerStateEvent = new SkipFuncEvent(&pcEventQueue,
"tl_v48_capture_power_state");
strcpy(osflags, boot_osflags.c_str());
}
+#ifdef DEBUG
if (kernelSymtab->findAddress("panic", addr))
kernelPanicEvent->schedule(addr);
else
if (consoleSymtab->findAddress("panic", addr))
consolePanicEvent->schedule(addr);
+#endif
if (kernelSymtab->findAddress("badaddr", addr))
badaddrEvent->schedule(addr);
delete kernelSymtab;
delete consoleSymtab;
+#ifdef DEBUG
delete kernelPanicEvent;
delete consolePanicEvent;
+#endif
delete badaddrEvent;
delete skipPowerStateEvent;
delete skipScavengeBootEvent;