Teach libmemstat(3) about UMA(9) failure statistics.
Requested by: victor cruceru <victor dot cruceru at gmail dot com> MFC after: 1 week
This commit is contained in:
parent
87bbce9e08
commit
425ca78cc4
@ -201,6 +201,7 @@ memstat_sysctl_uma(struct memory_type_list *list, int flags)
|
||||
|
||||
mtp->mt_numallocs = uthp->uth_allocs;
|
||||
mtp->mt_numfrees = uthp->uth_frees;
|
||||
mtp->mt_failures = uthp->uth_fails;
|
||||
|
||||
for (j = 0; j < maxcpus; j++) {
|
||||
upsp = (struct uma_percpu_stat *)p;
|
||||
|
Loading…
Reference in New Issue
Block a user