From nobody Tue Oct 15 15:05:37 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 4XScq565bGz5YYfD; Tue, 15 Oct 2024 15:05:37 +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 4XScq54wWmz46Td; Tue, 15 Oct 2024 15:05:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729004737; 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=cCWPa6gFsJzIEcZbrRclj7xPADAok0qcijcycCbHu6Y=; b=oIVMcJaUrFnCWZAp6mcpzE/lD+nnOWMjkzv1oEkIDROm2aT01HT5zG3ynrymiy5u7S4b1Z GOINwqY+HwuQkr4CXwVparlxRzxich3iPUf4yAo5/Wjfpdd9zu8RsEdU2K3AZkwG6Yow9+ ompzPzGyFaNhdZ1G11c6fZJVDRgLDsMTIqwjpLfQ8p53nAqsw+aEowMslSbjNDxu6my5i5 mJJ7+ZmG73AaryULtWiAV+LP1IimLfVRVf4RT3comao6QLblJXC9wOLl3cwlDArXz9H8t2 It+xP8qCwy2CXm5uoJG87Q7oO415Igvy3/WhI02sQhut81bDCnM0megQwmpWxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729004737; 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=cCWPa6gFsJzIEcZbrRclj7xPADAok0qcijcycCbHu6Y=; b=QJRSZfkOaGLx8Klv9wL+BNI9HL36Ewjh3C8odvgRojcFgGvMmaEO63QwBk96vUQPweIDL0 sYmdcikhMe9i1bY4s+Gj0lGmlnNxKfzFrvIUajoXXBTGnhPFhCjlSPTfth84SMpnPiY9sB rOvOcCECwprqrg5xwvZ/F01DENTw3t7n0hV9Xr6QZ7pmVKXV+mP74+SbKXnNe8kmwpF7jy TLmArMv363bo0upmSScvHKJZudJ/rty57F9KM+3tE9BGmfd5Uho0WXMYoLrvJTlVPGP0+k rPtqyGf0mnjrWGv6uxyjCkpuNbptx6Y6BuU1MXFvbvAI95M4kVTHiWi772UpiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729004737; a=rsa-sha256; cv=none; b=hnWly/nXMw9f30xEbZ5RQ9bybTDCHmcZujh/AmR3nLDtaSBuy6/pXErYZrwiCMgPF9OiZY 10L49ds0jxeehdpGk1dxs6CKW6MgV8Bh59fyPQqokrVKTYH3AYuoCeQg/LjUOTKx7kdmvB FBIiMz+mka+WnNVeEAoy6O+v9Ds3g9naSrWqEkjFl/KskCQjKWfHSaNUnuUZZRmf4wXoDo 81LxhQDVo70stSfdgM14ngQwlILFiGY5NKImaATSor5ZpDO/Kt2AKsY6ihj1rTpSmbskja GardkbVH0q6gmylN97mXfbfbnCzPyAe+45GQ5Jt6bgieFCl9tdenAxelRk9B0w== 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 4XScq54WBDzRXP; Tue, 15 Oct 2024 15:05:37 +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 49FF5bww089764; Tue, 15 Oct 2024 15:05:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49FF5b1f089761; Tue, 15 Oct 2024 15:05:37 GMT (envelope-from git) Date: Tue, 15 Oct 2024 15:05:37 GMT Message-Id: <202410151505.49FF5b1f089761@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: a6188cd25039 - stable/14 - procstat vm: report posix shm segment mapping 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/stable/14 X-Git-Reftype: branch X-Git-Commit: a6188cd25039b77571ad3212a1fc0c914d55f48a Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=a6188cd25039b77571ad3212a1fc0c914d55f48a commit a6188cd25039b77571ad3212a1fc0c914d55f48a Author: Konstantin Belousov AuthorDate: 2024-10-07 01:59:53 +0000 Commit: Konstantin Belousov CommitDate: 2024-10-15 14:50:17 +0000 procstat vm: report posix shm segment mapping (cherry picked from commit a1258191d5e21736e25010c85eb01b5f995cc1d2) --- 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 4f69aa3c3244..4fc3a1b5f556 100644 --- a/usr.bin/procstat/procstat_vm.c +++ b/usr.bin/procstat/procstat_vm.c @@ -171,6 +171,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"); }