create cma dump

Bug: 240530709
Test: adb bugreport
Change-Id: Iadac309611bc6dd27615b087f159234d6f1b655c
This commit is contained in:
Adam Shih 2023-02-15 12:42:16 +08:00
parent 8eb00e662f
commit 5f802b7e13
5 changed files with 18 additions and 13 deletions

9
dumpstate/dump_cma.sh Normal file
View file

@ -0,0 +1,9 @@
#!/vendor/bin/sh
echo "------ CMA info ------"
for d in $(ls -d /d/cma/*); do
echo --- $d
echo --- count; cat $d/count
echo --- used; cat $d/used
echo --- bitmap; cat $d/bitmap
done