summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c346dc6)
raw | patch | inline | side by side (parent: c346dc6)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 2 May 2016 14:07:47 +0000 (16:07 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 2 May 2016 14:07:47 +0000 (16:07 +0200) |
Partial revert of 1f0156c, which broke the build on Solaris and OpenBSD.
The context-switch reporting code is only part of master at the moment.
Fixes: #1674
The context-switch reporting code is only part of master at the moment.
Fixes: #1674
src/processes.c | patch | blob | history |
diff --git a/src/processes.c b/src/processes.c
index 122ca7a14dedf97f7d268872e6541dfc0f5e40ae..a17c127d2ddde05a71df303b3f99af7f106979e5 100644 (file)
--- a/src/processes.c
+++ b/src/processes.c
pse.io_syscr = -1;
pse.io_syscw = -1;
- pse.cswitch_vol = -1;
- pse.cswitch_invol = -1;
-
ps_list_add (procs[i].p_comm, have_cmdline ? cmdline : NULL, &pse);
switch (procs[i].p_stat)
pse.io_syscr = ps.io_syscr;
pse.io_syscw = ps.io_syscw;
- pse.cswitch_vol = -1;
- pse.cswitch_invol = -1;
-
switch (state)
{
case 'R': running++; break;