From nobody Tue Oct 08 12:39:29 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XNFvj36Lkz5ZN9W; Tue, 08 Oct 2024 12:39:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XNFvj1LFvz4bvC; Tue, 8 Oct 2024 12:39:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728391169; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=50Q89qdvf0kNWLLhuxYiPPUTe6WGd9McY/n5c5ExE7A=; b=WSlNitx9ByOklfLHSLoRy6SGapm6LXuQ8tsJgbOMGgcQan8LX1ngyVtX4vIm/russYcn2W vLgIJJ28mSgHDW3B9tAz95IpwndF2rQY7SuhU/EfFJiRnpBWUzV43rfTMPwfAZ9WX0ylxZ p3++5zc+f4ilM032BvxU7spkQCGVb3q9fRJ0ovxCT8nrAoBcsqwGdmFfQ+AHiFD1/ye7Ua ChVvCG4vWw3Kn/J9URI4eoha+QOfGgVnB8/XwhHTHrQXFWEJgGtRWNeA2vlGnr7kCkifE2 n5jTdbWLiNhBmilUnOPE8IaDLr4iIBa10KJGVh4cXaGmn1N1yySzVkTM38lXGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728391169; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=50Q89qdvf0kNWLLhuxYiPPUTe6WGd9McY/n5c5ExE7A=; b=J61xxKuFxnipDvRitsNmCoKO3i1khyxpVm8wfpwVqUGBj8e38gReHBLqYBkcv/xAKV+bCs Mo3ZWh0ODWcX3BOq84tLTFAQYUy16XnDJHZEzgCG9cbxGVA82x2/z14E0zem7d1TCy4Pzz 6qsA9DGf/jOrzEdxwM/vAri8Ms5VQ72qFkOIJDMiOb1pjQtDkvMhT4IdqZIaOjlEx8BVme CpVE5uOCDDyq7ITmtw21yDrTdwsVVAheWsoqSM1pIpPtareN6iVDWJOEkm/8PcNQ2RYsy0 7IzJITtDq5Dygyem22IPlflw+nwjjvqyNHdS1nR5nG5UHKQVWRylidylmvOcbA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728391169; a=rsa-sha256; cv=none; b=vaRXlrbfIa3VhwdF4w3y7ePVgDvGsCbWEc8pjiOMFV+YpjtiCJnNzBI7yuXOgnfYAkXJgT QNjvl3jfZEnjbAXwN077rNV7qXozUfUA0ineftnM69hr+6Yc6ZLOPzpgRPjeRnkWMVYp7m ZswJGB7Q2iDEB5GNvmk18RGTuErUijPKW0Ef3+IbbWtx32WbfXemM4DfATz2vvEqqMjbgx VP9HBfX76LodnG7dtbbegjlpR2l4X9ZBoy1+Z1wGfGa98UJed1410GUteWwCQplmSEH38W afljNvv+C+lhSHb1STlq3vd4w0PYvxltF3raVX26p8xo79WDvYaumx3bEtxFnw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XNFvj0xnMzW22; Tue, 8 Oct 2024 12:39:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 498CdTSM013129; Tue, 8 Oct 2024 12:39:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 498CdTKs013126; Tue, 8 Oct 2024 12:39:29 GMT (envelope-from git) Date: Tue, 8 Oct 2024 12:39:29 GMT Message-Id: <202410081239.498CdTKs013126@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: ba40b2b89962 - main - vmstat -o: report objects backing posix shm segments List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ba40b2b89962b799ade3b92cdd710e36cccc8810 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=ba40b2b89962b799ade3b92cdd710e36cccc8810 commit ba40b2b89962b799ade3b92cdd710e36cccc8810 Author: Konstantin Belousov AuthorDate: 2024-10-07 02:01:48 +0000 Commit: Konstantin Belousov CommitDate: 2024-10-08 12:38:29 +0000 vmstat -o: report objects backing posix shm segments Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D46970 --- usr.bin/vmstat/vmstat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c index 8d6c40a4d2fd..862cc4809fbe 100644 --- a/usr.bin/vmstat/vmstat.c +++ b/usr.bin/vmstat/vmstat.c @@ -1546,6 +1546,8 @@ display_object(struct kinfo_vmobject *kvo) if ((kvo->kvo_flags & KVMO_FLAG_SYSVSHM) != 0) xo_emit("{:sysvshm/sysvshm(%ju:%u)} ", (uintmax_t)kvo->kvo_vn_fileid, kvo->kvo_vn_fsid_freebsd11); + if ((kvo->kvo_flags & KVMO_FLAG_POSIXSHM) != 0) + xo_emit("{:posixshm/posixshm@/posixshm}"); xo_emit("{:path/%-s}\n", kvo->kvo_path); xo_close_instance("object"); }