From nobody Sun Dec 10 08:37:26 2023 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 4SnytG67pKz53PHk; Sun, 10 Dec 2023 08:37:26 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SnytG5GXCz3dsN; Sun, 10 Dec 2023 08:37:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702197446; 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=G4ozU5DK/gbvfnYIbDrBM6XptLB44f8Vwm2Yl8vudgY=; b=ni8BUKYLDc7vrDIQCXnSpqzC7KRu+yiJGtKOXdb8mFtOW40Mys/MfCFHb9Y9o4RpEb8eNb lsE15H+d6r92hpyW06xBW3yprksihlvjAWpaR7DCcb0A5WSM9bJZOS+DzoydWTwD8pbFeX gyN3QpkTZ1DRgBPPpvCGi4VynguSY6yQhZVAZ/4KS/iTtG0v712GcQPYh1q3o0eHYpODoT UeB6sEyQuVB5huwGVFIzRORaXC58/FrJeNAu5kRn+jCeb/oddbYmUphHfn6yG5WkTfJa4z hdNAz2RXZrLHvBxFevZnOLcGu63IrOeejU92B1X0b3A04KNxjygZogpNb/CiCw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702197446; a=rsa-sha256; cv=none; b=kCVSbbCwwdWNcVbPhDFNXIOYIv66L14ZS0qRafhi2OIrTL3pvchF0IrYkZE99OD/M3jbnL UQcLg0uWwdto486YSBVvwIkA41O0ItpsQJe0CGGxMWDk0pc6zzrx/Ao4weZUaaT67Jub+r BU/DITndL2UGAFddY75t7zYDlU+adUzToGyXHDhxfDh0ymxRXf7e8IEb14g9d39hBVcn7r esN+ZogIuWcolSWN8IjY9i+CWNn6nc9E4NgqgrNV3mKRNYPxcjFWkWBiOK2rcu84igBJ7z SIzFekU82Y26uRb8COAiuLtrauw4djZC3O/fcIxtcyPniMMP3ddwWkPDvePA+g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702197446; 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=G4ozU5DK/gbvfnYIbDrBM6XptLB44f8Vwm2Yl8vudgY=; b=MHMPtnU3U6IuFB4dRdi+vZ9QezV2kyU6ScoRooSi/DD9fxA9lwQ6UPH5D/6B906oCmofeQ pshf61wQY7BMFfwDmutzkZBfq8yDlRWMSBFIu0ImrceF47xj1mGNA/7Ji4lH5kXLp0RkgK AR+2W+e3iX9E22WBqWvcpm6jzb7S8QzQ26solWMchz4cM5UdLzHfagjYzIhberB9T7p/pg 75Erxx1oIacyWFaNK0JmnrH6s3zWzxz2oD+cTtRjGBZi7bK62DDAW6QDeQ63aAOE36COf7 m+RSDnhJtAgwA/v/kl/B6tF5YAwMrhT6xwIc/Gh1iwd7aT3aw76DKu3Ki6Dl4Q== 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 4SnytG4KdnzhJJ; Sun, 10 Dec 2023 08:37:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BA8bQZY087197; Sun, 10 Dec 2023 08:37:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BA8bQBc087195; Sun, 10 Dec 2023 08:37:26 GMT (envelope-from git) Date: Sun, 10 Dec 2023 08:37:26 GMT Message-Id: <202312100837.3BA8bQBc087195@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Peter Holm Subject: git: 41667b04e5d5 - main - stress2: Only extract the allocation with the exact name "pts" 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pho X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 41667b04e5d56888e90ad80b39930aa5fb66aad2 Auto-Submitted: auto-generated The branch main has been updated by pho: URL: https://cgit.FreeBSD.org/src/commit/?id=41667b04e5d56888e90ad80b39930aa5fb66aad2 commit 41667b04e5d56888e90ad80b39930aa5fb66aad2 Author: Peter Holm AuthorDate: 2023-12-10 08:34:38 +0000 Commit: Peter Holm CommitDate: 2023-12-10 08:34:38 +0000 stress2: Only extract the allocation with the exact name "pts" --- tools/test/stress2/misc/pts2.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/test/stress2/misc/pts2.sh b/tools/test/stress2/misc/pts2.sh index 84f7bbd78255..32adb98f2cfe 100755 --- a/tools/test/stress2/misc/pts2.sh +++ b/tools/test/stress2/misc/pts2.sh @@ -40,11 +40,11 @@ sed '1,/^EOF/d' < $here/$0 > pts2.c mycc -o pts2 -Wall -Wextra -O2 pts2.c || exit 1 rm -f pts2.c -pts=`vmstat -m | grep pts | awk '{print $2}'` +pts=`vmstat -m | awk '/ pts / {print $2}'` for i in `jot 10`; do /tmp/pts2 done -new=`vmstat -m | grep pts | awk '{print $2}'` +new=`vmstat -m | awk '/ pts / {print $2}'` s=0 [ $((new - pts)) -gt 1 ] && { s=1; echo "Leaked $((new - pts)) pts."; }