Code

processes plugin: Remove unused fields from structures
authorPavel Rochnyack <pavel2000@ngs.ru>
Mon, 10 Oct 2016 07:07:55 +0000 (13:07 +0600)
committerPavel Rochnyack <pavel2000@ngs.ru>
Mon, 10 Oct 2016 07:07:55 +0000 (13:07 +0600)
commit14b4024e2e621b440f96e8f2ef1af04d6275ee34
tree31322abcef63b01fa0c3c67143e73110f9bddfbd
parent7f8a8111b26ffaed85a4a48ba874614df3a07f1b
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.
src/processes.c