diff options
author | Valery A. Podrezov <valery.a.podrezov@intel.com> | 2007-02-02 19:48:23 +0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-02-02 21:14:31 -0500 |
commit | afbb9e659d584bd5bf0604848c91afd5761ed7a1 (patch) | |
tree | e7157a607189bf411ef05989dfa03a4df9bccf71 /include | |
parent | ea5415785146afe37dd2d1179a6c3a34fd26b52f (diff) | |
download | linux-afbb9e659d584bd5bf0604848c91afd5761ed7a1.tar.gz linux-afbb9e659d584bd5bf0604848c91afd5761ed7a1.tar.bz2 linux-afbb9e659d584bd5bf0604848c91afd5761ed7a1.zip |
ACPICA: Enhance debugger statistics/memory command.
Debugger: Enhanced the Statistics/Memory command to emit the
total (maximum) memory used during execution, as well as the
maximum memory consumed by each of the various object types.
Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/acpi/acdebug.h | 4 | ||||
-rw-r--r-- | include/acpi/aclocal.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/acpi/acdebug.h b/include/acpi/acdebug.h index 47296ffef7dd..c46a33abe457 100644 --- a/include/acpi/acdebug.h +++ b/include/acpi/acdebug.h @@ -159,6 +159,10 @@ void acpi_db_create_execution_threads(char *num_threads_arg, char *num_loops_arg, char *method_name_arg); +#ifdef ACPI_DBG_TRACK_ALLOCATIONS +u32 acpi_db_get_cache_info(struct acpi_memory_list *cache); +#endif + /* * dbfileio - Debugger file I/O commands */ diff --git a/include/acpi/aclocal.h b/include/acpi/aclocal.h index 9b7e05c87595..e135dab905f8 100644 --- a/include/acpi/aclocal.h +++ b/include/acpi/aclocal.h @@ -954,6 +954,8 @@ struct acpi_memory_list { u32 total_allocated; u32 total_freed; + u32 max_occupied; + u32 total_size; u32 current_total_size; u32 requests; u32 hits; |