diff options
author | Colin Cross | 2013-08-14 16:10:19 -0500 |
---|---|---|
committer | Colin Cross | 2013-09-19 23:03:31 -0500 |
commit | a3041cac9fc117df010e66ce40091fa2c4f646f8 (patch) | |
tree | 0ab849c78129b076b4733296c005c38cc9526ce0 | |
parent | f526a55b400d166dafc6062e5818a2410555ef39 (diff) | |
download | kernel-common-a3041cac9fc117df010e66ce40091fa2c4f646f8.tar.gz kernel-common-a3041cac9fc117df010e66ce40091fa2c4f646f8.tar.xz kernel-common-a3041cac9fc117df010e66ce40091fa2c4f646f8.zip |
ion: add free list size to heap debug files
Change-Id: I3c6309afdbd661a2f870fd1ba3fea9543e229882
Signed-off-by: Colin Cross <ccross@android.com>
-rw-r--r-- | drivers/gpu/ion/ion.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/ion/ion.c b/drivers/gpu/ion/ion.c index dbe5bbce6a5..48652ddd494 100644 --- a/drivers/gpu/ion/ion.c +++ b/drivers/gpu/ion/ion.c | |||
@@ -1286,6 +1286,9 @@ static int ion_debug_heap_show(struct seq_file *s, void *unused) | |||
1286 | seq_printf(s, "%16.s %16u\n", "total orphaned", | 1286 | seq_printf(s, "%16.s %16u\n", "total orphaned", |
1287 | total_orphaned_size); | 1287 | total_orphaned_size); |
1288 | seq_printf(s, "%16.s %16u\n", "total ", total_size); | 1288 | seq_printf(s, "%16.s %16u\n", "total ", total_size); |
1289 | if (heap->flags & ION_HEAP_FLAG_DEFER_FREE) | ||
1290 | seq_printf(s, "%16.s %16u\n", "deferred free", | ||
1291 | heap->free_list_size); | ||
1289 | seq_printf(s, "----------------------------------------------------\n"); | 1292 | seq_printf(s, "----------------------------------------------------\n"); |
1290 | 1293 | ||
1291 | if (heap->debug_show) | 1294 | if (heap->debug_show) |