cgtop: drop counterproductive bitfields

The variable after the bitfields has 8 byte alignment, so we weren't saving any
memory, but the code to serve the bitfields was more complicated.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2023-03-14 18:00:08 +01:00
parent 726afd5d9a
commit 882c514d50
+4 -4
View File
@@ -36,10 +36,10 @@
typedef struct Group {
char *path;
bool n_tasks_valid:1;
bool cpu_valid:1;
bool memory_valid:1;
bool io_valid:1;
bool n_tasks_valid;
bool cpu_valid;
bool memory_valid;
bool io_valid;
uint64_t n_tasks;