1
0
mirror of https://github.com/google/gops.git synced 2024-11-24 08:22:25 +02:00

agent: use in-use instead of inuse for consistency

Since I renamed these fields in the previous commit, let's take this
opportunity to be consistent with the other fields containing 'in use'.

Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com>
This commit is contained in:
Mahe Tardy 2024-11-04 11:56:15 +01:00 committed by Tobias Klauser
parent dcd9131fb9
commit 51efca2c3e

View File

@ -229,9 +229,9 @@ func handle(conn io.ReadWriter, msg []byte) error {
fmt.Fprintf(conn, "heap-objects: %v\n", s.HeapObjects)
fmt.Fprintf(conn, "stack-in-use: %v\n", formatBytes(s.StackInuse))
fmt.Fprintf(conn, "stack-sys: %v\n", formatBytes(s.StackSys))
fmt.Fprintf(conn, "mspan-inuse: %v\n", formatBytes(s.MSpanInuse))
fmt.Fprintf(conn, "mspan-in-use: %v\n", formatBytes(s.MSpanInuse))
fmt.Fprintf(conn, "mspan-sys: %v\n", formatBytes(s.MSpanSys))
fmt.Fprintf(conn, "mcache-inuse: %v\n", formatBytes(s.MCacheInuse))
fmt.Fprintf(conn, "mcache-in-use: %v\n", formatBytes(s.MCacheInuse))
fmt.Fprintf(conn, "mcache-sys: %v\n", formatBytes(s.MCacheSys))
fmt.Fprintf(conn, "other-sys: %v\n", formatBytes(s.OtherSys))
fmt.Fprintf(conn, "gc-sys: %v\n", formatBytes(s.GCSys))