Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7bcea0d5 authored by Colin Cross's avatar Colin Cross Committed by Mitchel Humpherys
Browse files

ion: add free list size to heap debug files



Change-Id: I3c6309afdbd661a2f870fd1ba3fea9543e229882
Signed-off-by: default avatarColin Cross <ccross@android.com>
Git-commit: a3041cac9fc117df010e66ce40091fa2c4f646f8
Git-repo: https://android.googlesource.com/kernel/common/


Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent 42f8f67a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1641,6 +1641,9 @@ static int ion_debug_heap_show(struct seq_file *s, void *unused)
	seq_printf(s, "%16.s %16zu\n", "total orphaned",
		   total_orphaned_size);
	seq_printf(s, "%16.s %16zu\n", "total ", total_size);
	if (heap->flags & ION_HEAP_FLAG_DEFER_FREE)
		seq_printf(s, "%16.s %16u\n", "deferred free",
				heap->free_list_size);
	seq_printf(s, "----------------------------------------------------\n");

	if (heap->debug_show)