From nobody Tue Oct 08 12:39:27 2024 X-Original-To: dev-commits-src-main@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 4XNFvh3Km8z5ZNcr; Tue, 08 Oct 2024 12:39:28 +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 4XNFvh0jTJz4bYM; Tue, 8 Oct 2024 12:39:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728391168; 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=BykxymFCMb8hKxgoZqdgYNLDWm0EZjB72nksd0OAg4U=; b=XROX3JpRuDZGHtWKLiTmDpJsfh+WoAqkVP2wX4G8mY0a3/uCNOWNCRzK8gSJDOGOFe9RAE 28HOC+SqAZUogXHTzNM72qSerReR/XqAClcvlgodsb9IIqO3ifTsilBf1om9HYtujQ+DSy XOgrgC5hQqxOFYnqWGaLC8R6jXtzu+kE9L/y+p7IQJp0DgCPskupbmfQZY0LBfF9f282TQ htSoTBtTqOo7v+IvEyxgGQUOF2s3GHzMTccVEKeUbKacdoRemU4HhTQAMX/1mBhngOq7BS AmiMe18EgN4O7QVLhczOIb5Ot0b9Yd2XlSQgPWgcuD+Kg2b8dpX41Hcw+QOIQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728391168; 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=BykxymFCMb8hKxgoZqdgYNLDWm0EZjB72nksd0OAg4U=; b=c3FAlRMZkG92NnJ7TDGrUOD+yPhoq2iduzmXtTjraWi63x608ZHBBFVkV6Rh46sPHxnIEd bm4dwNnvpV0htIb+iZ1gUOeiDyYIj5mGJwp5Yas7fBw/SVxXPYOIfDLbv6sLrNsblyJgh8 kgA9NznsSdI4aqBK1Co9mQQpYz65CSiT/YBWhqIDkFbUcUY96VhGDU3/sMj//vQNMgaq0M FJ93LD5VO57BjUKuYy4zlYzhfYvFeJw3WS6T+TqTcCDVyZWxPbMekbS4NzT7wyTizOI0JN nCqaMaLZnYkoEeLVw795CO+L4KWhl+aDChzF9zp4PlJqb+tlAplQgsmhfDG8LQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728391168; a=rsa-sha256; cv=none; b=msH+Kf/IUP8Rfb6XQ09MzzX9s9FEBAQvdSFVNAlv7+XorixigGwzRfq/eE8tME//AvxSFW fCh4dlaz0/wA1xMk36ghuqmPEechZCMZaXhiCeMq4dxPhSUEZVfm2DMzOO2fq02uhYIf7V 9JGi9WmTkgrXtn+XKZrxdV4nh3U/C92/agre8zTUy1HOIERXOtRqS5+E9PNamt2x/LRyb6 Yuizx3YcxqV7DjSZQki02W4TTuaos5ihuR8RzkctHHTTiOi2J2PWqSdYuFwRLT6J1cCFfm 3o80WpUeBN4KtNk5aWy+11oG4goDt13haV0r8yWGfKy3zmVIlzT2b0rSsE0YPA== 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 4XNFvg6jcHzWM8; Tue, 8 Oct 2024 12:39:27 +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 498CdRca013076; Tue, 8 Oct 2024 12:39:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 498CdR1e013073; Tue, 8 Oct 2024 12:39:27 GMT (envelope-from git) Date: Tue, 8 Oct 2024 12:39:27 GMT Message-Id: <202410081239.498CdR1e013073@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: a1258191d5e2 - main - procstat vm: report posix shm segment mapping List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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: a1258191d5e21736e25010c85eb01b5f995cc1d2 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=a1258191d5e21736e25010c85eb01b5f995cc1d2 commit a1258191d5e21736e25010c85eb01b5f995cc1d2 Author: Konstantin Belousov AuthorDate: 2024-10-07 01:59:53 +0000 Commit: Konstantin Belousov CommitDate: 2024-10-08 12:38:23 +0000 procstat vm: report posix shm segment mapping Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D46970 --- usr.bin/procstat/procstat_vm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.bin/procstat/procstat_vm.c b/usr.bin/procstat/procstat_vm.c index e899b365a9d1..78c1e70971d7 100644 --- a/usr.bin/procstat/procstat_vm.c +++ b/usr.bin/procstat/procstat_vm.c @@ -170,6 +170,8 @@ procstat_vm(struct procstat *procstat, struct kinfo_proc *kipp) xo_emit(" {:sysvipc:/sysvshm(%ju:%u)/%ju:%u}", (uintmax_t)kve->kve_vn_fileid, kve->kve_vn_fsid_freebsd11); + if ((kve->kve_flags & KVME_FLAG_POSIXSHM) != 0) + xo_emit(" {:posixshm:/posixshm@/posixshm}"); xo_emit("{:kve_path/%-s/%s}\n", kve->kve_path); xo_close_instance("vm"); }