mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-02 20:29:20 +00:00
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:
parent
957ccc2bc8
commit
8ef4665aa1
3 changed files with 32 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue