android: binder: Add page usage in binder stats
Add the number of active, lru, and free pages for each binder process in binder stats Signed-off-by: Sherry Yang <sherryy@android.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
957ccc2bc8
commit
8ef4665aa1
@@ -5047,6 +5047,8 @@ static void print_binder_proc_stats(struct seq_file *m,
|
||||
count = binder_alloc_get_allocated_count(&proc->alloc);
|
||||
seq_printf(m, " buffers: %d\n", count);
|
||||
|
||||
binder_alloc_print_pages(m, &proc->alloc);
|
||||
|
||||
count = 0;
|
||||
binder_inner_proc_lock(proc);
|
||||
list_for_each_entry(w, &proc->todo, entry) {
|
||||
|
Reference in New Issue
Block a user