Change-Id: I93e898343e7fb72e75ae74c650b10f2ba570d381
vir_bytes vui_shared; /* shared (non-COW) part of common memory */
vir_bytes vui_virtual; /* total size of virtual address space */
vir_bytes vui_mvirtual; /* idem but minus unmapped stack pages */
+ uint64_t vui_maxrss; /* maximum resident set size (in KB) */
+ uint64_t vui_minflt; /* minor page faults */
+ uint64_t vui_majflt; /* major page faults */
};
struct vm_region_info {
}
region_incr_iter(&v_iter);
}
+
+ /*
+ * Also include getrusage resource information, so that the MIB service
+ * need not make more than one call to VM for each process entry.
+ */
+ vui->vui_maxrss = vmp->vm_total_max / 1024L;
+ vui->vui_minflt = vmp->vm_minor_page_fault;
+ vui->vui_majflt = vmp->vm_major_page_fault;
}
/*===========================================================================*