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
2019094a35
commit
d144359bde
@ -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