diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-04-20 16:06:58 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-04-22 16:06:20 +0200 |
commit | 0ff308c8dea9a589ddbc437c097edc3fb26360d7 (patch) | |
tree | 0b8c57b31deee9ad658af8048e12c10b213a8e88 /src/shared/output-mode.h | |
parent | a0e270198a9d58b58dff44a6504843f19458facd (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/output-mode.h')
-rw-r--r-- | src/shared/output-mode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/output-mode.h b/src/shared/output-mode.h index c5470e7c1b..e2b26e04d3 100644 --- a/src/shared/output-mode.h +++ b/src/shared/output-mode.h @@ -34,6 +34,9 @@ typedef enum OutputMode { _OUTPUT_MODE_INVALID = -1 } OutputMode; +/* The output flags definitions are shared by the logs and process tree output. Some apply to both, some only to the + * logs output, others only to the process tree output. */ + typedef enum OutputFlags { OUTPUT_SHOW_ALL = 1 << 0, OUTPUT_FOLLOW = 1 << 1, @@ -43,4 +46,5 @@ typedef enum OutputFlags { OUTPUT_CATALOG = 1 << 5, OUTPUT_BEGIN_NEWLINE = 1 << 6, OUTPUT_UTC = 1 << 7, + OUTPUT_KERNEL_THREADS = 1 << 8, } OutputFlags; |