summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libvmon/vmon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libvmon/vmon.c b/src/libvmon/vmon.c
index 7d2b2a0..8da8205 100644
--- a/src/libvmon/vmon.c
+++ b/src/libvmon/vmon.c
@@ -1344,6 +1344,8 @@ static void sample(vmon_t *vmon, vmon_proc_t *proc)
{
int i, wants, cur;
+ proc->children_changed = proc->threads_changed = 0;
+
/* load this process monitors wants, or inherit the default */
wants = proc->wants ? proc->wants : vmon->proc_wants;
© All Rights Reserved