From nobody Sat May 13 02:50:07 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 4QJ98w1Nhmz4BmVs; Sat, 13 May 2023 02:50:08 +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 4QJ98w0w22z4BGS; Sat, 13 May 2023 02:50:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683946208; 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=zXPs4hHJK/0uCHn1qvIK3lCpWnwXoR9Ziv1Qy7BwtvA=; b=pxlqiA/rrhtgIAfZdrR1LB5FkFnBsw9x/IB+2/uwzbPI61reK3YFqgg34QGS7VcUe9yC9F 27xXt0ot8BViyLzKO1PSgHci4ctXdFNgOv6sFIkGj5CpIEVU3Rv9n9K+o4x0rVrCv9V9t2 naNpHtDs+Xq4vKJUHlHDhDEGuX10k0rD71Qad3dnTe48cUaZM9WKmRGZ4DWWi4AavO0ons ozCc0C3aAGcUimzEJMZHsEKkM8I0AcO9PPqcT+Hzh1LTlLo8EI/NYcZhDnekPALL3qKKb7 FV0ycRSmOc+hVWiDTP9gIKb0nz+41ga/lZbY8ije1y+gpu51wHZMExjVAAvrfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683946208; 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=zXPs4hHJK/0uCHn1qvIK3lCpWnwXoR9Ziv1Qy7BwtvA=; b=oXOLyLsJ7Q146UpGg83mCmJPwDiHMH9w/oT8M5uZBiLaO/H9OgFSxYefF432vsPjET4qyd QYQLB+Nym1Z0UtP29N7MscQnbk/Fy6TaLEhDEZ7e/iSiEpzCSh1Ij1xx9x1v6s8LUaq5op uQqYw+0KzvgayjFv9kzyaBwe+RGASKuKr1mpFPUD2IMmhnH7J47ofi7G+TkjT4QBA5OB8t bMuhCIn7nvpz6lXSTwK6O/SZJvvfuIsbZVgr0QIOljqHyB1KmfCZZ3sQC944q17VcMR4sY E7VNhU+P3pbBjnnWfM8QG4la2elRs8zQThKb66oIXWrmATmqpPmOAbiT1QfTkQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683946208; a=rsa-sha256; cv=none; b=aRPJ+AxQfGFpxbuhEuOGv4Jb8iZu1d2nAaDfQDd+BG/opd+qzpuW4z2jpPKmiaatTwLCJO 1KK974R5WX7J5zbWoAoNqii+gmKIVKZgIBc8Puz5SzwUvVUrX+J69onGc/+Q0soBo68pZ6 NHNWsSMdpkr3ET+6GbOZAEC6YQ2LZj7inKwEE/hZ4eNY+2aZ1Kel/2F8YpIh26cs8Gw34y u7WVCb2T9vEdUkXSC5cF7kR8anbjCfiWLSuxjuNGMODmmemygdRIKDtI6OXSWOelgjophs MVEkrpZku1nTBMzSYFs7n/dMjj8XBpaQtFI5QFh3yyuFB1PdvCLzFGvKYTXf4A== 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 4QJ98v74ckz10dZ; Sat, 13 May 2023 02:50:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34D2o7gb053176; Sat, 13 May 2023 02:50:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34D2o7Pn053173; Sat, 13 May 2023 02:50:07 GMT (envelope-from git) Date: Sat, 13 May 2023 02:50:07 GMT Message-Id: <202305130250.34D2o7Pn053173@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Enji Cooper Subject: git: 46f35bf28d0a - main - rc.subr(8): delete debug cpuset helper 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: ngie X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 46f35bf28d0af08ff799167f77967a3d07564f75 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ngie: URL: https://cgit.FreeBSD.org/src/commit/?id=46f35bf28d0af08ff799167f77967a3d07564f75 commit 46f35bf28d0af08ff799167f77967a3d07564f75 Author: Enji Cooper AuthorDate: 2023-05-11 05:47:09 +0000 Commit: Enji Cooper CommitDate: 2023-05-13 02:50:00 +0000 rc.subr(8): delete debug cpuset helper Summary: The intention of the original author (I assume) was to add this logic for testing. This removes the debug statement so it no longer shows up in calls to `status`. MFC after: 2 weeks MFC with: 0661f9389 Reviewers: kevans Subscribers: imp Differential Revision: https://reviews.freebsd.org/D40055 --- libexec/rc/rc.subr | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr index b2a7f45ccd4d..6a7f070f7f5b 100644 --- a/libexec/rc/rc.subr +++ b/libexec/rc/rc.subr @@ -1127,11 +1127,6 @@ run_rc_command() _run_rc_precmd || return 1 if [ -n "$rc_pid" ]; then echo "${name} is running as pid $rc_pid." - # for cpuset debug only, not committable (cut) - if [ -n "$_cpuset" -a -x $CPUSET ]; then - echo -n "on CPU(s)" - $CPUSET -g -p "$rc_pid" | cut -s -d: -f 2 - fi else echo "${name} is not running." return 1