summaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu.c
diff options
context:
space:
mode:
authorKarel Zak2017-03-30 12:10:01 +0200
committerKarel Zak2017-03-30 12:10:01 +0200
commit2546d54bd8b0ceac75d6d7e6c483479022d97509 (patch)
tree4a7813ccc9f9e512c985018a9b5a696193b12953 /sys-utils/lscpu.c
parentagetty: fix typo (diff)
downloadkernel-qcow2-util-linux-2546d54bd8b0ceac75d6d7e6c483479022d97509.tar.gz
kernel-qcow2-util-linux-2546d54bd8b0ceac75d6d7e6c483479022d97509.tar.xz
kernel-qcow2-util-linux-2546d54bd8b0ceac75d6d7e6c483479022d97509.zip
zramctl: make mm_stat parser more robust
Let's fallback to attribute files if mm_stat file is incomplete. It should not happen, but I have seen RHEL7 kernel where is no num_migrated/pages_compacted attribute... Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/lscpu.c')
0 files changed, 0 insertions, 0 deletions