diff --git a/mx_proc.c b/mx_proc.c index 00b37a6b..48e590cc 100644 --- a/mx_proc.c +++ b/mx_proc.c @@ -166,7 +166,6 @@ static void mx_proc_tree_update_parent_pinfo(struct mx_proc_tree_node *this, str if (!this) return; - this->pinfo.sum_rss += pinfo->sum_rss; this->pinfo.sum_rss_anon += pinfo->sum_rss_anon; mx_proc_tree_update_parent_pinfo(this->parent, pinfo); @@ -269,7 +268,6 @@ static struct mx_proc_tree_node *mx_proc_tree_add(struct mx_proc_tree *pt, struc pt->nentries++; new->pinfo.pstat = pps; - new->pinfo.sum_rss = pps->rss; new->pinfo.sum_rss_anon = pps->rss_anon; if (!(pt->root)) { diff --git a/mx_proc.h b/mx_proc.h index 428620df..2a125c66 100644 --- a/mx_proc.h +++ b/mx_proc.h @@ -6,7 +6,6 @@ struct mx_proc_info { struct mx_proc_pid_stat *pstat; - unsigned long long int sum_rss; unsigned long long int sum_rss_anon; };