summaryrefslogtreecommitdiffstats
path: root/linux/CGroupUtils.c
Commit message (Collapse)AuthorAgeFilesLines
* Skip system slice nameBenny Baumann2022-03-061-0/+6
| | | | | This shortens paths like /system.slice/system-postgres.slice/postgres@12-main.service to /[S]/postgres@12-main. Without this some cgroup names for getty processes explode in length.
* Reduce column width spam by snapdBenny Baumann2022-03-061-0/+18
|
* CGroupUtils: avoid unsigned integer underflowChristian Göttsche2021-12-051-1/+1
| | | | | | | Do not underflow count at the last iteration, which triggers UBSAN when using -fsanitize=unsigned-integer-overflow. This is useful as those underflows can be a result of a flawed counting logic (e.g. a counter gets reduced more than increased).
* Include support for legacy LXC cgroup namingBenny Baumann2021-11-281-0/+30
|
* Use helpers for parsing of cgroup labelsBenny Baumann2021-11-281-9/+21
|
* Extract string writing/buffer handling into some callbackBenny Baumann2021-11-281-127/+117
|
* Compress cgroup names based on some heuristicsBenny Baumann2021-11-281-0/+285

© 2014-2024 Faster IT GmbH | imprint | privacy policy