summaryrefslogtreecommitdiff
path: root/src/shared/cgroup-show.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-04-20 16:06:58 +0200
committerLennart Poettering <lennart@poettering.net>2016-04-22 16:06:20 +0200
commit0ff308c8dea9a589ddbc437c097edc3fb26360d7 (patch)
tree0b8c57b31deee9ad658af8048e12c10b213a8e88 /src/shared/cgroup-show.h
parenta0e270198a9d58b58dff44a6504843f19458facd (diff)
shared: drop kernel_thread bool from cgroups show code
Make this an output flag instead, so that our function prototypes can lose one parameter
Diffstat (limited to 'src/shared/cgroup-show.h')
-rw-r--r--src/shared/cgroup-show.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/shared/cgroup-show.h b/src/shared/cgroup-show.h
index 3ab7dfb33c..5c1d6e6d98 100644
--- a/src/shared/cgroup-show.h
+++ b/src/shared/cgroup-show.h
@@ -25,8 +25,8 @@
#include "logs-show.h"
#include "output-mode.h"
-int show_cgroup_by_path(const char *path, const char *prefix, unsigned columns, bool kernel_threads, OutputFlags flags);
-int show_cgroup(const char *controller, const char *path, const char *prefix, unsigned columns, bool kernel_threads, OutputFlags flags);
+int show_cgroup_by_path(const char *path, const char *prefix, unsigned columns, OutputFlags flags);
+int show_cgroup(const char *controller, const char *path, const char *prefix, unsigned columns, OutputFlags flags);
-int show_cgroup_and_extra_by_spec(const char *spec, const char *prefix, unsigned n_columns, bool kernel_threads, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags);
-int show_cgroup_and_extra(const char *controller, const char *path, const char *prefix, unsigned n_columns, bool kernel_threads, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags);
+int show_cgroup_and_extra_by_spec(const char *spec, const char *prefix, unsigned n_columns, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags);
+int show_cgroup_and_extra(const char *controller, const char *path, const char *prefix, unsigned n_columns, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags);