diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-01 20:26:58 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-02-01 20:29:09 -0500 |
commit | d3e8277d5004163c725a895778c3a9dce9ca091e (patch) | |
tree | 720be3e42a17fa770a16a3e194d640cc335e692c /src/machine | |
parent | 049cb73b360d4551a82cb8f0e46fc9c24226a793 (diff) |
cgtop: use common function to query cgroup root
show_cgroup_get_root_and_warn is renamed to show_cgroup_get_path_and_warn
because it now optionally allows querying a non-root path.
This removes duplicated code and teaches cgtop to combine
-M with a root prefix:
$ systemd-cgtop -M myprecious /system.slice
...
Diffstat (limited to 'src/machine')
0 files changed, 0 insertions, 0 deletions