Systemd/src
Szabolcs Fruhwald 5fe74e893c cgtop: Fix processing of controllers other than CPU
After debugging the issue with gdb, I found that the following change

 94ddb08 "cgtop: Still try to get CPU statistics if controller-free"

has introduced a bug, which prevents process(..) method processing
memory and io controllers when cpu_accounting_is_cheap() is true.
The obvious fix is to move this branch to be the last one, keeping
the intended behavior of the above change, without having a negative
effect on the other controllers.

Fixes #11773 [systemd-cgtop no longer shows memory (and io) usage]
2019-02-21 11:00:10 +01:00
..
ac-power coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
activate tree-wide: use FORK_RLIMIT_NOFILE_SAFE wherever possible 2018-12-01 12:50:45 +01:00
analyze analyze: generalize cat-config to apply to tmpfiles, presets, hwdb.d, etc. 2019-02-18 10:29:33 +01:00
ask-password coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
backlight backlight: handle loading truncated file 2019-02-02 16:25:32 +02:00
basic util: make base64_append() add a whitespace before appending data 2019-02-20 06:16:11 +09:00
binfmt coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
boot boot/efi: use a wildcard section copy for final EFI generation 2019-02-09 17:51:23 +01:00
busctl busctl: shorten code a bit by using SYNTHETIC_ERRNO() 2019-02-06 13:30:53 +01:00
cgls coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
cgroups-agent log: introduce new helper call log_setup_service() 2018-11-20 11:18:22 +01:00
cgtop cgtop: Fix processing of controllers other than CPU 2019-02-21 11:00:10 +01:00
core core: add ':' prefix to ExecXYZ= skip env var substitution 2019-02-20 17:58:14 +01:00
coredump Remove 'inline' attributes from static functions in .c files (#11426) 2019-01-15 08:12:28 +01:00
cryptsetup mount/generators: do not make unit wanted by its device unit 2019-02-15 00:16:54 +08:00
debug-generator generators: define custom main func definer and use it where applicable 2018-12-12 21:58:00 +01:00
delta locale-util: prefix special glyph enum values with SPECIAL_GLYPH_ 2018-12-14 08:22:54 +01:00
detect-virt coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
dissect coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
environment-d-generator environment-d-generator: do not include /lib/environment.d in the list 2019-02-18 10:29:33 +01:00
escape coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
firstboot locale-util: prefix special glyph enum values with SPECIAL_GLYPH_ 2018-12-14 08:22:54 +01:00
fsck fsck: use symbolic names where we have them 2019-01-07 17:50:39 +01:00
fstab-generator Merge pull request #11226 from keszybz/enable-remount-fs-dynamically 2019-02-18 12:46:31 +01:00
fuzz udev: use typedef for struct udev_rules 2018-12-17 09:27:21 +01:00
getty-generator getty-generator: use the new main function definer 2018-12-12 21:58:00 +01:00
gpt-auto-generator Pull in systemd-remount-fs.service only when required 2019-01-03 15:30:28 +01:00
hibernate-resume coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
hostname Merge pull request #11086 from poettering/nscd-cache-flush 2018-12-17 11:29:58 +01:00
hwdb Split out pretty-print.c and move pager.c and main-func.h to shared/ 2018-11-20 18:40:02 +01:00
id128 coccinelle: also mark previous synthetic errnos as such 2018-11-22 10:54:38 +01:00
import curl-util: fix use after free 2019-02-06 16:19:02 +01:00
initctl initctl: shorten and update code a bit 2019-01-17 16:12:38 +01:00
journal Merge pull request #11578 from keszybz/gcc-9-fixes 2019-02-07 15:25:05 +01:00
journal-remote Remove 'inline' attributes from static functions in .c files (#11426) 2019-01-15 08:12:28 +01:00
kernel-install kernel-install: fix dracut initrd detection (240 backward compatibility) (#11570) 2019-01-27 17:32:21 +01:00
libsystemd Allocate temporary strings to hold dbus paths on the heap 2019-02-18 20:07:45 +01:00
libsystemd-network dhcp: don't stop receiving packets when the link goes down 2019-02-19 20:19:36 +09:00
libudev sd-device-enumerator: support multiple parents 2019-01-23 15:15:56 +09:00
locale Merge pull request #11041 from yuwata/update-missing-v2 2018-12-04 16:19:02 +01:00
login login: add a missing error check for session_set_leader() 2019-02-15 11:29:34 +01:00
machine machinectl: fix argument index in error log 2019-02-04 11:03:58 +01:00
machine-id-setup coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
modules-load modules-load: use static destructor and DEFINE_MAIN_FUNCTION() macro 2018-11-20 18:40:02 +01:00
mount Split out part of mount-util.c into mountpoint-util.c 2018-11-29 21:03:44 +01:00
network network: introduce network_verify() 2019-02-20 06:12:54 +09:00
notify coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
nspawn tree-wide: use newa() instead of alloca() wherever we can 2019-01-26 16:17:04 +01:00
nss-myhostname nss: unportect errno before writing to NSS' *errnop 2019-02-08 10:34:47 +01:00
nss-mymachines nss: unportect errno before writing to NSS' *errnop 2019-02-08 10:34:47 +01:00
nss-resolve nss: unportect errno before writing to NSS' *errnop 2019-02-08 10:34:47 +01:00
nss-systemd nss: unportect errno before writing to NSS' *errnop 2019-02-08 10:34:47 +01:00
partition makefs: correct child process name 2018-12-01 12:50:45 +01:00
path coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
portable tree-wide: make sure to flush/close all bus connections when our daemons exit 2019-01-17 16:12:38 +01:00
quotacheck tree-wide: use FORK_RLIMIT_NOFILE_SAFE wherever possible 2018-12-01 12:50:45 +01:00
random-seed coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
rc-local-generator generators: define custom main func definer and use it where applicable 2018-12-12 21:58:00 +01:00
remount-fs remount-fs: split out common pattern out to a function 2019-01-03 15:29:53 +01:00
reply-password log: introduce new helper call log_setup_service() 2018-11-20 11:18:22 +01:00
resolve Merge pull request #11512 from poettering/resolved-stub-pipeline 2019-02-20 19:03:13 +01:00
rfkill Detect file truncation earlier in a few places 2019-02-02 16:25:32 +02:00
run tree-wide: port various places over to STARTSWITH_SET() 2018-11-26 14:08:46 +01:00
run-generator generators: define custom main func definer and use it where applicable 2018-12-12 21:58:00 +01:00
shared generator: rename systemd-mkfs@.service to systemd-makefs@.service 2019-02-21 10:59:27 +01:00
sleep core: Allow to configure execute_directories execution behavior 2019-02-18 16:16:02 +01:00
socket-proxy tree-wide: use c99 static for array size declarations 2019-01-04 12:37:25 +01:00
stdio-bridge tree-wide: make sure to flush/close all bus connections when our daemons exit 2019-01-17 16:12:38 +01:00
sulogin-shell tree-wide: use FORK_RLIMIT_NOFILE_SAFE wherever possible 2018-12-01 12:50:45 +01:00
sysctl sysctl: Don't pass null directive argument to '%s' 2018-12-16 21:01:39 -08:00
system-update-generator system-update-generator: use the new main function definer 2018-12-12 21:58:00 +01:00
systemctl test,systemctl,nspawn: use "const char*" instead of "char*" as iterator for FOREACH_STRING() 2019-01-16 12:29:30 +01:00
systemd dhcp: handle multiple addresses for "Router" (option 3) in DHCP library 2019-02-18 13:34:22 +01:00
sysusers Merge pull request #10920 from yuwata/hashmap-destructor 2018-12-03 17:59:44 +01:00
sysv-generator generators: define custom main func definer and use it where applicable 2018-12-12 21:58:00 +01:00
test core: add ':' prefix to ExecXYZ= skip env var substitution 2019-02-20 17:58:14 +01:00
time-wait-sync time-wait: define main through macro 2018-11-23 06:22:30 +09:00
timedate timedate: refuse to set time when previous request is not finished 2019-01-15 15:15:26 +09:00
timesync timesyncd: Improve sync log message. Fixes #11548. 2019-01-24 23:52:24 +01:00
tmpfiles tmpfiles: let's bump RLIMIT_NOFILE for tmpfiles 2019-02-15 17:16:54 +01:00
tty-ask-password-agent coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
udev udev-ctrl: split out logic of waiting for reply to udev_ctrl_wait() 2019-02-20 06:17:42 +09:00
update-done update-done: quit earlier on failure 2018-11-23 06:22:30 +09:00
update-utmp update-utmp: use _cleanup_ attribute to finalize process 2018-11-23 06:22:30 +09:00
user-sessions tree-wide: add whitespace between type and variable name 2018-12-04 09:29:54 +01:00
vconsole vconsole-setup: fonts copy will fail if the current terminal is in graphical mode 2018-12-13 08:30:20 +01:00
veritysetup generators: define custom main func definer and use it where applicable 2018-12-12 21:58:00 +01:00
version meson: make version a dependency and use it in libbasic 2019-01-22 14:39:38 +01:00
volatile-root Split out part of mount-util.c into mountpoint-util.c 2018-11-29 21:03:44 +01:00