summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorMinchan Kim <minchan@google.com>2019-07-09 11:57:41 +0900
committerThierry Strudel <tstrudel@google.com>2019-07-10 01:41:04 +0000
commit49813529f7ba0845ae27fe7e03a85e673a4e2385 (patch)
treed836695ef2f88ddc40269bf0e47adad022c72fb8 /startop/scripts/lib/cmd_utils.py
parent0e5c34bb381e5ab995c7656929e2532af9b8957f (diff)
skip reading vmallocinfo if not needed
If kernel supports vmalloc memory accouting from /proc/meminfo (https://patchwork.kernel.org/patch/10944111/) it's pointless to parse /proc/vmallocinfo since it's too heavy Bug: 136688885 Test: manual checking right vmalloc pages from meminfo Test: manual checking check that never invokes ReadVmallocInfo if kernel supports vmalloc pages Change-Id: I725ea1f8a0c4ab07e78893fdb39661a65eac39e6 Signed-off-by: Minchan Kim <minchan@google.com>
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions