mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
dma-debug: Expose nr_total_entries in debugfs
Expose nr_total_entries in debugfs, so that {num,min}_free_entries
become even more meaningful to users interested in current/maximum
utilisation. This becomes even more relevant once nr_total_entries
may change at runtime beyond just the existing AMD GART debug code.
Suggested-by: John Garry <[email protected]>
Signed-off-by: Robin Murphy <[email protected]>
Tested-by: Qian Cai <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
This commit is contained in:
parent
7c703e54cc
commit
9f191555ba
2 changed files with 10 additions and 0 deletions
|
|
@ -723,6 +723,9 @@ dma-api/min_free_entries This read-only file can be read to get the
|
|||
dma-api/num_free_entries The current number of free dma_debug_entries
|
||||
in the allocator.
|
||||
|
||||
dma-api/nr_total_entries The total number of dma_debug_entries in the
|
||||
allocator, both free and used.
|
||||
|
||||
dma-api/driver-filter You can write a name of a driver into this file
|
||||
to limit the debug output to requests from that
|
||||
particular driver. Write an empty string to
|
||||
|
|
|
|||
Loading…
Reference in a new issue