mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
ea54157851
commit
afbb9e659d
4 changed files with 26 additions and 0 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue