- kIOLogHibernate = 0x00100000ULL,
- kIOStatistics = 0x04000000ULL,
- kIOSleepWakeWdogOff = 0x40000000ULL,
- kIOKextSpinDump = 0x80000000ULL,
-
- // debug aids - change behaviour
- kIONoFreeObjects = 0x00100000ULL,
- kIOLogSynchronous = 0x00200000ULL, // IOLog completes synchronously
- kIOTracking = 0x00400000ULL,
- kIOWaitQuietPanics = 0x00800000ULL,
- kIOWaitQuietBeforeRoot = 0x01000000ULL,
- kIOTrackingBoot = 0x02000000ULL,
-
- _kIODebugTopFlag = 0x8000000000000000ULL // force enum to be 64 bits
+ kIOLogHibernate = 0x00100000ULL,
+ kIOStatistics = 0x04000000ULL,
+ kIOSleepWakeWdogOff = 0x40000000ULL,
+ kIOKextSpinDump = 0x80000000ULL,
+
+ // debug aids - change behaviour
+ kIONoFreeObjects = 0x00100000ULL,
+// kIOLogSynchronous = 0x00200000ULL, // IOLog completes synchronously -- obsolete
+ kIOTracking = 0x00400000ULL,
+ kIOWaitQuietPanics = 0x00800000ULL,
+ kIOWaitQuietBeforeRoot = 0x01000000ULL,
+ kIOTrackingBoot = 0x02000000ULL,
+
+ _kIODebugTopFlag = 0x8000000000000000ULL// force enum to be 64 bits
+};
+
+enum {
+ kIOKitDebugUserOptions = 0
+ | kIOLogAttach
+ | kIOLogProbe
+ | kIOLogStart
+ | kIOLogRegister
+ | kIOLogMatch
+ | kIOLogConfig
+ | kIOLogYield
+ | kIOLogPower
+ | kIOLogMapping
+ | kIOLogCatalogue
+ | kIOLogTracePower
+ | kIOLogDebugPower
+ | kOSLogRegistryMods
+ | kIOLogPMRootDomain
+ | kOSRegistryModsMode
+ | kIOLogHibernate
+ | kIOSleepWakeWdogOff
+ | kIOKextSpinDump
+ | kIOWaitQuietPanics
+};
+
+enum {
+ kIOTraceInterrupts = 0x00000001ULL, // Trace primary interrupts
+ kIOTraceWorkLoops = 0x00000002ULL, // Trace workloop activity
+ kIOTraceEventSources = 0x00000004ULL, // Trace non-passive event sources
+ kIOTraceIntEventSource = 0x00000008ULL, // Trace IOIES and IOFIES sources
+ kIOTraceCommandGates = 0x00000010ULL, // Trace command gate activity
+ kIOTraceTimers = 0x00000020ULL, // Trace timer event source activity
+
+ kIOTracePowerMgmt = 0x00000400ULL, // Trace power management changes
+
+ kIOTraceIOService = 0x00080000ULL, // registerService/termination
+
+ kIOTraceCompatBootArgs = kIOTraceIOService | kIOTracePowerMgmt