summaryrefslogtreecommitdiffstats
path: root/drivers/android/binder_alloc.h
diff options
context:
space:
mode:
authorSherry Yang <sherryy@android.com>2017-08-31 20:56:36 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-01 08:53:32 +0200
commit8ef4665aa129a14f3733efc651c53a3c6c47b500 (patch)
tree4fc67d313c1ca17928b1a395eb7b06bd067cdb75 /drivers/android/binder_alloc.h
parentandroid: binder: fixup crash introduced by moving buffer hdr (diff)
downloadlinux-8ef4665aa129a14f3733efc651c53a3c6c47b500.tar.xz
linux-8ef4665aa129a14f3733efc651c53a3c6c47b500.zip
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>
Diffstat (limited to 'drivers/android/binder_alloc.h')
-rw-r--r--drivers/android/binder_alloc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/android/binder_alloc.h b/drivers/android/binder_alloc.h
index fa707cc63393..a3a3602c689c 100644
--- a/drivers/android/binder_alloc.h
+++ b/drivers/android/binder_alloc.h
@@ -142,6 +142,8 @@ extern void binder_alloc_deferred_release(struct binder_alloc *alloc);
extern int binder_alloc_get_allocated_count(struct binder_alloc *alloc);
extern void binder_alloc_print_allocated(struct seq_file *m,
struct binder_alloc *alloc);
+void binder_alloc_print_pages(struct seq_file *m,
+ struct binder_alloc *alloc);
/**
* binder_alloc_get_free_async_space() - get free space available for async