diff options
Diffstat (limited to 'source/components/debugger/dbstats.c')
| -rw-r--r-- | source/components/debugger/dbstats.c | 21 | 
1 files changed, 12 insertions, 9 deletions
| diff --git a/source/components/debugger/dbstats.c b/source/components/debugger/dbstats.c index 0f2c75f9b275..e1ff8bb00c3c 100644 --- a/source/components/debugger/dbstats.c +++ b/source/components/debugger/dbstats.c @@ -46,11 +46,11 @@  #include "acdebug.h"  #include "acnamesp.h" -#ifdef ACPI_DEBUGGER  #define _COMPONENT          ACPI_CA_DEBUGGER          ACPI_MODULE_NAME    ("dbstats") +  /* Local prototypes */  static void @@ -127,7 +127,8 @@ AcpiDbListInfo (      if (List->MaxDepth > 0)      {          AcpiOsPrintf ( -            "    Cache: [Depth    MaxD Avail  Size]                %8.2X %8.2X %8.2X %8.2X\n", +            "    Cache: [Depth    MaxD Avail  Size]                " +            "%8.2X %8.2X %8.2X %8.2X\n",              List->CurrentDepth,              List->MaxDepth,              List->MaxDepth - List->CurrentDepth, @@ -138,7 +139,8 @@ AcpiDbListInfo (      if (List->MaxDepth > 0)      {          AcpiOsPrintf ( -            "    Cache: [Requests Hits Misses ObjSize]             %8.2X %8.2X %8.2X %8.2X\n", +            "    Cache: [Requests Hits Misses ObjSize]             " +            "%8.2X %8.2X %8.2X %8.2X\n",              List->Requests,              List->Hits,              List->Requests - List->Hits, @@ -150,7 +152,8 @@ AcpiDbListInfo (      if (List->ObjectSize)      {          AcpiOsPrintf ( -            "    Mem:   [Alloc    Free Max    CurSize Outstanding] %8.2X %8.2X %8.2X %8.2X %8.2X\n", +            "    Mem:   [Alloc    Free Max    CurSize Outstanding] " +            "%8.2X %8.2X %8.2X %8.2X %8.2X\n",              List->TotalAllocated,              List->TotalFreed,              List->MaxOccupied, @@ -160,7 +163,8 @@ AcpiDbListInfo (      else      {          AcpiOsPrintf ( -            "    Mem:   [Alloc Free Max CurSize Outstanding Total] %8.2X %8.2X %8.2X %8.2X %8.2X %8.2X\n", +            "    Mem:   [Alloc Free Max CurSize Outstanding Total] " +            "%8.2X %8.2X %8.2X %8.2X %8.2X %8.2X\n",              List->TotalAllocated,              List->TotalFreed,              List->MaxOccupied, @@ -374,7 +378,7 @@ AcpiDbCountNamespaceObjects (      }      (void) AcpiNsWalkNamespace (ACPI_TYPE_ANY, ACPI_ROOT_OBJECT, -                ACPI_UINT32_MAX, FALSE, AcpiDbClassifyOneObject, NULL, NULL, NULL); +        ACPI_UINT32_MAX, FALSE, AcpiDbClassifyOneObject, NULL, NULL, NULL);  } @@ -532,7 +536,8 @@ AcpiDbDisplayStatistics (      case CMD_STAT_STACK:  #if defined(ACPI_DEBUG_OUTPUT) -        Temp = (UINT32) ACPI_PTR_DIFF (AcpiGbl_EntryStackPointer, AcpiGbl_LowestStackPointer); +        Temp = (UINT32) ACPI_PTR_DIFF ( +            AcpiGbl_EntryStackPointer, AcpiGbl_LowestStackPointer);          AcpiOsPrintf ("\nSubsystem Stack Usage:\n\n");          AcpiOsPrintf ("Entry Stack Pointer          %p\n", AcpiGbl_EntryStackPointer); @@ -550,5 +555,3 @@ AcpiDbDisplayStatistics (      AcpiOsPrintf ("\n");      return (AE_OK);  } - -#endif /* ACPI_DEBUGGER  */ | 
