mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
vmstat: drop the HighUse field from malloc dump
It is hardwired to "-" since its introduction in 2005. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D27141
This commit is contained in:
parent
f0c90a0931
commit
6fcc846b59
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=367534
@ -1433,8 +1433,8 @@ domemstat_malloc(void)
|
||||
}
|
||||
}
|
||||
xo_open_container("malloc-statistics");
|
||||
xo_emit("{T:/%13s} {T:/%5s} {T:/%6s} {T:/%7s} {T:/%8s} {T:Size(s)}\n",
|
||||
"Type", "InUse", "MemUse", "HighUse", "Requests");
|
||||
xo_emit("{T:/%13s} {T:/%5s} {T:/%6s} {T:/%8s} {T:Size(s)}\n",
|
||||
"Type", "InUse", "MemUse", "Requests");
|
||||
xo_open_list("memory");
|
||||
zones = memstat_malloc_zone_get_count();
|
||||
for (mtp = memstat_mtl_first(mtlp); mtp != NULL;
|
||||
@ -1444,10 +1444,9 @@ domemstat_malloc(void)
|
||||
continue;
|
||||
xo_open_instance("memory");
|
||||
xo_emit("{k:type/%13s/%s} {:in-use/%5ju} "
|
||||
"{:memory-use/%5ju}{U:K} {:high-use/%7s} "
|
||||
"{:requests/%8ju} ",
|
||||
"{:memory-use/%5ju}{U:K} {:requests/%8ju} ",
|
||||
memstat_get_name(mtp), (uintmax_t)memstat_get_count(mtp),
|
||||
((uintmax_t)memstat_get_bytes(mtp) + 1023) / 1024, "-",
|
||||
((uintmax_t)memstat_get_bytes(mtp) + 1023) / 1024,
|
||||
(uintmax_t)memstat_get_numallocs(mtp));
|
||||
first = 1;
|
||||
xo_open_list("size");
|
||||
|
Loading…
Reference in New Issue
Block a user