From nobody Mon Feb 13 15:23:15 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 4PFp4z5gM7z3rH8J; Mon, 13 Feb 2023 15:23:15 +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 4PFp4z4yZrz4PfV; Mon, 13 Feb 2023 15:23:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676301795; 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=OmKnEbIKr1jopjcl9hcAUfCJ94h3qpceJB68OpGlbaM=; b=hfjcPIgFT/GYMHzl09C4ALXx6muhaybBxo61Rgm6jh6LHDXAbzA0ut86ue3B/JvBX3JaEH lqTacIOmsXxanJTod10rzq7lfeY2eaZISPSPWIJLzLzqUBZ1ubb2WIhWXjtLh9nVwEgHHd Q++DzlbjomZjBAtsPrDP0iP/FRGNy9Kp1fjXaoylHubbZVeuNHT/5hIjIfvB3Z1opZM/Q5 eFX0coO80jx7UZEiEdm+4J4sP532QJXWajnsA+S3T0Sl5zr9lDmeOIKPMXVUDyREZRuKM7 bzM6JEZ8nLyU1OdV8CLxIwJd42WqVAY9V6S6QHukcZdC/A3uVLU7cvk+UX+GVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676301795; 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=OmKnEbIKr1jopjcl9hcAUfCJ94h3qpceJB68OpGlbaM=; b=wGPj+PaZXQP8jwBNISIzaiMobi7u3qB4OucgfYr0K6oQLiLilzbNdeBi4nmqnF1MgETOYE gdjAiWHAueJJSbLYR2rUUu6lzZpQ4vGCjnqKYFVmHa4MDYQzlJ5n1/JNJG/0P8/BJjbH/S nQ/JNeggdZC/BWIOgZP5XE7S/8iTi9cceKyPzKMEcYZ4HtGxtIcp9oHLVA0+6AyTUsELxo 2MIxd/ezSYSrzEHs9mSTpBgcgi5HZ/ggT3ig65uuMsDQbT2mMW1uOtksvtF6GQZ9Q5g4zO Az76yZxrJ92/vMhEc0z3qRMr2hUbf22eqBymwqkytVanHTxX+letz6igixYdHA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676301795; a=rsa-sha256; cv=none; b=sci8zgPhV3VM9dIzIKsBBlrieXptA0Wz6hAYBmfVA1CduRMq8y+KCAxjMXZmzTAz4I8xHZ S4nynr4Vo1+23GRYpZyM9yEHZuHrLAMKum4QZlAFseW88RnQb4S05gYF4QmMIWkDa33eGK qHedQjNkfsDDEJB9X/7IVYs/tvNRTHKudMGlxTeVay3UTLE5asUH8e4H97RDGeBdErab+C ydRnpRQhogi4cP3QXkQH7BmzIW3KyV/R1w6c07LY7G0rHhV06LUhs35dhtsL3EFyW4YW1n bfr6MtgtPY8b4uyIIGZ84jYq7s9TaJYQrjxLf0VvNFzfMC4achZNWvVccnXRGQ== 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 4PFp4z3gYvzNfH; Mon, 13 Feb 2023 15:23:15 +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 31DFNFwO068031; Mon, 13 Feb 2023 15:23:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31DFNFs9068030; Mon, 13 Feb 2023 15:23:15 GMT (envelope-from git) Date: Mon, 13 Feb 2023 15:23:15 GMT Message-Id: <202302131523.31DFNFs9068030@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 09c4c1e83665 - main - prof: Remove sysctl docs for sysctls that are now gone. 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 09c4c1e836659a30aa68790e9b7e7536d1194ef4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=09c4c1e836659a30aa68790e9b7e7536d1194ef4 commit 09c4c1e836659a30aa68790e9b7e7536d1194ef4 Author: Warner Losh AuthorDate: 2023-02-13 15:18:50 +0000 Commit: Warner Losh CommitDate: 2023-02-13 15:18:50 +0000 prof: Remove sysctl docs for sysctls that are now gone. GRPOF based kernel profiling was removed in aa3ea612be36. However, the docs for the sysctls were not. Remove them belatedly. Sponsored by: Netflix --- lib/libc/gen/sysctl.3 | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index 2d8da3974086..c4883e0aeb4d 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -349,7 +349,6 @@ information. .It Dv KERN_OSTYPE Ta string Ta no .It Dv KERN_POSIX1 Ta integer Ta no .It Dv KERN_PROC Ta node Ta not applicable -.It Dv KERN_PROF Ta node Ta not applicable .It Dv KERN_QUANTUM Ta integer Ta yes .It Dv KERN_SAVED_IDS Ta integer Ta no .It Dv KERN_SECURELVL Ta integer Ta raise only @@ -477,41 +476,6 @@ implies the current process. .It Dv KERN_PROC_ARGS Ta "A process ID" .It Dv KERN_PROC_PATHNAME Ta "A process ID" .El -.It Li KERN_PROF -Return profiling information about the kernel. -If the kernel is not compiled for profiling, -attempts to retrieve any of the KERN_PROF values will -fail with -.Er ENOENT . -The third level names for the string and integer profiling information -is detailed below. -The changeable column shows whether a process with appropriate -privilege may change the value. -.Bl -column "GPROFXGMONPARAMXXX" "struct gmonparamXXX" -offset indent -.It Sy Third Level Name Ta Sy Type Ta Sy Changeable -.It Dv GPROF_STATE Ta integer Ta yes -.It Dv GPROF_COUNT Ta u_short[\|] Ta yes -.It Dv GPROF_FROMS Ta u_short[\|] Ta yes -.It Dv GPROF_TOS Ta struct tostruct Ta yes -.It Dv GPROF_GMONPARAM Ta struct gmonparam Ta no -.El -.Pp -The variables are as follows: -.Bl -tag -width 6n -.It Li GPROF_STATE -Returns GMON_PROF_ON or GMON_PROF_OFF to show that profiling -is running or stopped. -.It Li GPROF_COUNT -Array of statistical program counter counts. -.It Li GPROF_FROMS -Array indexed by program counter of call-from points. -.It Li GPROF_TOS -Array of -.Va struct tostruct -describing destination of calls and their counts. -.It Li GPROF_GMONPARAM -Structure giving the sizes of the above arrays. -.El .It Li KERN_QUANTUM The maximum period of time, in microseconds, for which a process is allowed to run without being preempted if other processes are in the run queue.