diff options
| author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2016-04-06 23:19:04 -0700 |
|---|---|---|
| committer | Robert Mustacchi <rm@joyent.com> | 2016-04-30 08:20:30 -0700 |
| commit | d14b1d19b404dcc4795d8a76751a186717a0ddaa (patch) | |
| tree | cb30c0229c66f3a4587ffdf1c461315b95a5a9f4 /usr/src/uts/common/sys/zone.h | |
| parent | c22cda1b41022b307ea9fda8c9dc19e6329a109a (diff) | |
| download | illumos-gate-d14b1d19b404dcc4795d8a76751a186717a0ddaa.tar.gz | |
6934 add kstat to track anon memory reservation failure (ENOMEM)
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/uts/common/sys/zone.h')
| -rw-r--r-- | usr/src/uts/common/sys/zone.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/common/sys/zone.h b/usr/src/uts/common/sys/zone.h index aabda563a7..34d00c3e89 100644 --- a/usr/src/uts/common/sys/zone.h +++ b/usr/src/uts/common/sys/zone.h @@ -388,6 +388,7 @@ typedef struct { kstat_named_t zm_anonpgin; kstat_named_t zm_execpgin; kstat_named_t zm_fspgin; + kstat_named_t zm_anon_alloc_fail; } zone_mcap_kstat_t; typedef struct { @@ -574,6 +575,7 @@ typedef struct zone { uint64_t zone_anonpgin; /* anon pages paged in */ uint64_t zone_execpgin; /* exec pages paged in */ uint64_t zone_fspgin; /* fs pages paged in */ + uint64_t zone_anon_alloc_fail; /* cnt of anon alloc fails */ /* * Misc. kstats and counters for zone cpu-usage aggregation. |
