-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ANDROID: staging: android: ion: Expose total heap and pool sizes via …
…sysfs Add sysfs attributes to track ion total heap and pool memory allocations. The following sysfs attributes are added: /sys/kernel/ion/total_heaps_kb /sys/kernel/ion/total_pools_kb Bug: 138148041 Bug: 154238995 Test: adb shell cat /sys/kernel/ion/* Change-Id: If92770dc3389af865c619525f04d3ba0e013b244 Signed-off-by: Suren Baghdasaryan <[email protected]>
- Loading branch information
1 parent
42099e0
commit 7d54911
Showing
8 changed files
with
136 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
What: /sys/kernel/ion | ||
Date: Dec 2019 | ||
KernelVersion: 4.14.158 | ||
Contact: Suren Baghdasaryan <[email protected]>, | ||
Sandeep Patil <[email protected]> | ||
Description: | ||
The /sys/kernel/ion directory contains a snapshot of the | ||
internal state of ION memory heaps and pools. | ||
Users: kernel memory tuning tools | ||
|
||
What: /sys/kernel/ion/total_heaps_kb | ||
Date: Dec 2019 | ||
KernelVersion: 4.14.158 | ||
Contact: Suren Baghdasaryan <[email protected]>, | ||
Sandeep Patil <[email protected]> | ||
Description: | ||
The total_heaps_kb file is read-only and specifies how much | ||
memory in Kb is allocated to ION heaps. | ||
|
||
What: /sys/kernel/ion/total_pools_kb | ||
Date: Dec 2019 | ||
KernelVersion: 4.14.158 | ||
Contact: Suren Baghdasaryan <[email protected]>, | ||
Sandeep Patil <[email protected]> | ||
Description: | ||
The total_pools_kb file is read-only and specifies how much | ||
memory in Kb is allocated to ION pools. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters