diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-07-15 23:34:39 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-07-15 23:34:39 +0000 |
commit | 87bbce9e08983c4dc2f681d70284394332525d5d (patch) | |
tree | dcb1a072189c630e06ed36d1cb86e13c9e466e88 /sys/vm/uma.h | |
parent | b9df2d99f29bc82c19878f30b8aaa469320f19d6 (diff) | |
download | FreeBSD-src-87bbce9e08983c4dc2f681d70284394332525d5d.zip FreeBSD-src-87bbce9e08983c4dc2f681d70284394332525d5d.tar.gz |
Track UMA(9) allocation failures by zone, and export via sysctl.
Requested by: victor cruceru <victor dot cruceru at gmail dot com>
MFC after: 1 week
Diffstat (limited to 'sys/vm/uma.h')
-rw-r--r-- | sys/vm/uma.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/uma.h b/sys/vm/uma.h index 283be9f..aed3580 100644 --- a/sys/vm/uma.h +++ b/sys/vm/uma.h @@ -545,7 +545,8 @@ struct uma_type_header { u_int32_t _uth_reserved0; /* Reserved. */ u_int64_t uth_allocs; /* Zone: number of allocations. */ u_int64_t uth_frees; /* Zone: number of frees. */ - u_int64_t _uth_reserved1[4]; /* Reserved. */ + u_int64_t uth_fails; /* Zone: number of alloc failures. */ + u_int64_t _uth_reserved1[3]; /* Reserved. */ }; |