summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorSuren Baghdasaryan <surenb@google.com>2019-07-15 13:54:20 -0700
committerSuren Baghdasaryan <surenb@google.com>2019-09-30 16:53:34 +0000
commit94ce3dd573643bfeb9551a4a5a0b667bdff24346 (patch)
tree3664c77215c0f5f1dab7e8d0ff111705335aef96 /base/errors_unix.cpp
parenta77b327bb9c74eb3e975e1cb5b1c6359f1655cfc (diff)
lmkd: Change zoneinfo parsing to retrieve zone watermarks
/proc/zoneinfo contains per-node data and each node contains per-zone section for each zone. Current parser does not recognize this hierarchy and useful per-zone information like zone watermarks cannot be retrieved. Change the parser to parse zoneinfo into a hierarchical structure. New parser also handles up to 2 nodes and can be easily extended to handle more if needed by changing MAX_NR_NODES. Bug: 132642304 Test: lmkd_unit_test Change-Id: I9306289ea6d30d78a261c5d5c29f4f6ea167807d Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions