summaryrefslogtreecommitdiff
path: root/src/cgroup-show.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-22 18:18:51 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-22 18:22:26 +0100
commit1e5678d023ab57807d3de08e10304e36bf9a1950 (patch)
tree6403512f2063b03a5b433bd45a7d7462b05de983 /src/cgroup-show.h
parentce3fd7e72a1b101002617bd410031e65d290f56f (diff)
cgls: don't show kernel threads by default
Diffstat (limited to 'src/cgroup-show.h')
-rw-r--r--src/cgroup-show.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cgroup-show.h b/src/cgroup-show.h
index ae5b13b564..992e17b986 100644
--- a/src/cgroup-show.h
+++ b/src/cgroup-show.h
@@ -22,7 +22,9 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-int show_cgroup_by_path(const char *path, const char *prefix, unsigned columns);
-int show_cgroup(const char *controller, const char *path, const char *prefix, unsigned columns);
+#include <stdbool.h>
+
+int show_cgroup_by_path(const char *path, const char *prefix, unsigned columns, bool kernel_threads);
+int show_cgroup(const char *controller, const char *path, const char *prefix, unsigned columns, bool kernel_threads);
#endif