OSDN Git Service

Include custom partitions in dumpcache tool
authorWei Wang <wvw@google.com>
Mon, 26 Sep 2016 23:47:49 +0000 (16:47 -0700)
committerWei Wang <wvw@google.com>
Tue, 27 Sep 2016 15:25:11 +0000 (08:25 -0700)
commitce1cef87f3a0440c30b95683a249b2ff2735a815
tree9165f3c160f77d9f8fec520fac7c4baac4dc7f8c
parentef3434986117721e62a178af5b5428369cb4d52f
Include custom partitions in dumpcache tool

Currently dumpcache use whitelist to include only standard partitions
and also print duplicated entries with symbolic link which makes the
total summary inaccurate.
This patch use blacklist "rootfs/devfs/tmpfs/procfs" to support more
partitions and skip symbolic links.

Test: manual - took a dumpcache
Bug: 31756965
Change-Id: I6038de9a2f3be11179cb30b4c4c6d2e7cd43aaa6
pagecache/dumpcache.c