summaryrefslogtreecommitdiffstats
path: root/linux/CGroupUtils.h
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2021-10-19 23:36:31 +0200
committerBenBE <BenBE@geshi.org>2021-11-28 20:19:10 +0100
commit9dc964bb42526d21e1221945ba96a0c87e58d040 (patch)
tree0d293ad30f62557a30e20e453869d7bcd9d772f4 /linux/CGroupUtils.h
parentea4282784de0a74fa97d9ca917f7f601c16aab64 (diff)
Compress cgroup names based on some heuristics
Diffstat (limited to 'linux/CGroupUtils.h')
-rw-r--r--linux/CGroupUtils.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/linux/CGroupUtils.h b/linux/CGroupUtils.h
new file mode 100644
index 00000000..3df428e4
--- /dev/null
+++ b/linux/CGroupUtils.h
@@ -0,0 +1,16 @@
+#ifndef HEADER_CGroupUtils
+#define HEADER_CGroupUtils
+/*
+htop - CGroupUtils.h
+(C) 2021 htop dev team
+Released under the GNU GPLv2+, see the COPYING file
+in the source distribution for its full text.
+*/
+
+#include <stdbool.h>
+#include <stddef.h>
+
+
+bool CGroup_filterName(const char *cgroup, char* buf, size_t bufsize);
+
+#endif /* HEADER_CGroupUtils */

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