author | Pavel Rochnyack <pavel2000@ngs.ru> | |
Mon, 10 Oct 2016 07:07:55 +0000 (13:07 +0600) | ||
committer | Pavel Rochnyack <pavel2000@ngs.ru> | |
Mon, 10 Oct 2016 07:07:55 +0000 (13:07 +0600) | ||
commit | 14b4024e2e621b440f96e8f2ef1af04d6275ee34 | |
tree | 31322abcef63b01fa0c3c67143e73110f9bddfbd | tree | snapshot |
parent | 7f8a8111b26ffaed85a4a48ba874614df3a07f1b | commit | diff |
processes plugin: Remove unused fields from structures
Fields cpu_user, cpu_system, vmem_minflt, vmem_majflt are always equal to zero for new entries (which are passed to ps_list_add()).
Values of these fields are not used in `procstat_t` entries too. So, that can be safely removed.
Fields cpu_user, cpu_system, vmem_minflt, vmem_majflt are always equal to zero for new entries (which are passed to ps_list_add()).
Values of these fields are not used in `procstat_t` entries too. So, that can be safely removed.
src/processes.c | diff | blob | history |