X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/1c79356b52d46aa6b508fb032f5ae709b1f2897b..90556fb8d47e7b68fd301dde9dbb3ae7495cf323:/iokit/Kernel/IOKitDebug.cpp?ds=inline diff --git a/iokit/Kernel/IOKitDebug.cpp b/iokit/Kernel/IOKitDebug.cpp index e7be3a62a..b694bcbb3 100644 --- a/iokit/Kernel/IOKitDebug.cpp +++ b/iokit/Kernel/IOKitDebug.cpp @@ -67,11 +67,16 @@ void IOPrintPlane( const IORegistryPlane * plane ) iter->reset(); while( (next = iter->getNextObjectRecursive())) { - sprintf( format + 1, "%ds", next->getDepth( plane )); + sprintf( format + 1, "%ds", 2 * next->getDepth( plane )); IOLog( format, ""); + IOLog( "\033[33m%s", next->getName( plane )); + if( (next->getLocation( plane ))) + IOLog("@%s", next->getLocation( plane )); + IOLog("\033[0m getMetaClass()->getClassName()); if( (service = OSDynamicCast(IOService, next))) - IOLog("<%ld>", service->getBusyState()); - IOLog( "%s\n", next->getName()); + IOLog(", busy %ld", service->getBusyState()); + IOLog( ">\n"); + IOSleep(250); } iter->release(); }