Rather than using an IPCEvent to see if code optimizations are disabled, go through the DAC to collect this information.