]> git.ipfire.org Git - thirdparty/systemd.git/commit
procfs-util: expose functionality to query total memory
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 22 Jan 2019 14:43:07 +0000 (15:43 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 22 Jan 2019 16:43:13 +0000 (17:43 +0100)
commitc482724aa5c5d0b1391fcf958a9a3ea6ce73a085
tree4df4a5c70268457cb7806cca1268da16e3754ae5
parent04ba6ed1677848969e9bd1a36642f8d1507c7d16
procfs-util: expose functionality to query total memory

procfs_memory_get_current is renamed to procfs_memory_get_used, because
"current" can mean anything, including total memory, used memory, and free
memory, as long as the value is up to date.

No functional change.
src/basic/procfs-util.c
src/basic/procfs-util.h
src/cgtop/cgtop.c
src/core/cgroup.c
src/test/test-procfs-util.c