diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2005-07-15 23:39:21 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2005-07-15 23:39:21 +0000 |
commit | d144359bde2204ab0c816a05e1369cc754b5b7c1 (patch) | |
tree | 8f1751895e957986923ce10af5d45ea031bf14a4 | |
parent | 2019094a3587aa287b10cb98db45803b251ad442 (diff) |
Teach libmemstat(3) about UMA(9) failure statistics.
Requested by: victor cruceru <victor dot cruceru at gmail dot com>
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=148071
-rw-r--r-- | lib/libmemstat/memstat_uma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libmemstat/memstat_uma.c b/lib/libmemstat/memstat_uma.c index 8a16f930e010..20259310337e 100644 --- a/lib/libmemstat/memstat_uma.c +++ b/lib/libmemstat/memstat_uma.c @@ -201,6 +201,7 @@ retry: 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; |