From nobody Fri Jul 11 14:58:07 2025 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 4bdvwH4hkCz61RDp; Fri, 11 Jul 2025 14:58:07 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bdvwH42Syz3rLp; Fri, 11 Jul 2025 14:58:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752245887; 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=+rfdcPONd7EnVl7+vKGUDJSN065+C2XdCzD0+nca6iA=; b=cD+OVlRbusKk7mSeVebmdMM3VS2Dfzm0jvAupDRjmrK4n171OZcpF/7ydIM25spBfpaL0T W33uQrDmLCOqVDtAJdk/H2VipdDPRtkRK2dktXmK6ej4Pv2GJssBKiR82pJBw8TIezeOeY Z/74jlEb2egiWWOto0VvYbRelwMOEsNBsAUTnvajxC4BmCZS13COU+eQX14nE7FKzersAK uQgUKWtG4OQc5YoqeH/RuJkGykF1elwkPS5Q6YPCod6EkHzihaqZRgKIhmg6nTJnnCD3Vy vcF8QU2nRRd1IKQy20hvXKJ///ilV7IlMwbsYjJp/BdHDjsYFrvq15PDY6UOQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752245887; 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=+rfdcPONd7EnVl7+vKGUDJSN065+C2XdCzD0+nca6iA=; b=eIZk+J2ByXS4gfVSvt8KZCch/K5qVh6uXDlYIJBjFfBcCDoYi+qIYmJ83mbS724EW2H6Gr VD44GR4yz+QSR/CBdONuwX3c2ODJTMB1XgtqesHqXRJ5jDFvPx59Un7Gk3cmAJFpiICY6K Id6Dbr7H0AmZEwfs2rcJKctgnYyV/8mk7+x61rS66wbayy1CmzB3DvWEhgoekPwdDk9STq xsgOyRMe30fkqpfQcr6tGdHH7RtEr+bbC1ItsF4VZStdzTHV+Xtxmc0wJLSncByBm0LX20 MUfGi5+wBknxw2siFMhY7ybNVz39TbO/c2bbAPfVF3MIC7q9j0U97S7XXTOHmA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1752245887; a=rsa-sha256; cv=none; b=fjQHzPki/qW6kVRyayM4ieN5Dq6VEQt4/GLH7a/3CYXbOoXOygrBhTzve3NXwq3vFQOHTm iF8RL60SaQvtWe2ZIRmSiPa8Bxgl9H8at5rgDJC7uqqeSNd2/E5lf7CpJ42m04Xz7IuNAn lBvDasaF0AQVJ4B7KaKW+g8jPF+VMSuQIsmGJW4lewQs6KNiGxs056hPnBG7E++kLD/30p gFJdZEEM4MlfbCjOsWSRnIf3WzGySTA37ZIH1TQ/Ar8aRFSZV69+NnlHDxjAILNOnZMJ0b ltO9RXQJ1yukB0jPaLTgwEfqcYHsuSt6Alara4DwtuB/g4lLnIR0gxP4tJ8Wug== 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 4bdvwH3KyfzjD2; Fri, 11 Jul 2025 14:58:07 +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 56BEw7gV031870; Fri, 11 Jul 2025 14:58:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 56BEw7gx031867; Fri, 11 Jul 2025 14:58:07 GMT (envelope-from git) Date: Fri, 11 Jul 2025 14:58:07 GMT Message-Id: <202507111458.56BEw7gx031867@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ruslan Bukin Subject: git: 55a25c753100 - main - hwt(4): fix spelling. 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: br X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 55a25c753100fe7085f6fd7832f0c219ee001a2e Auto-Submitted: auto-generated The branch main has been updated by br: URL: https://cgit.FreeBSD.org/src/commit/?id=55a25c753100fe7085f6fd7832f0c219ee001a2e commit 55a25c753100fe7085f6fd7832f0c219ee001a2e Author: Ruslan Bukin AuthorDate: 2025-07-11 14:52:06 +0000 Commit: Ruslan Bukin CommitDate: 2025-07-11 14:52:06 +0000 hwt(4): fix spelling. Pointed out by: maxim Sponsored by: UKRI --- share/man/man4/hwt.4 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/share/man/man4/hwt.4 b/share/man/man4/hwt.4 index 7bc8ed4b396d..df02a4672f36 100644 --- a/share/man/man4/hwt.4 +++ b/share/man/man4/hwt.4 @@ -73,7 +73,7 @@ request it accepts is This request allocates kernel tracing context (CTX) based on requested mode of operation, set of CPUs and/or pid. .Pp -Upon successfull CTX allocation, the ioctl returns a CTX identification +Upon successful CTX allocation, the ioctl returns a CTX identification number (ident). .Pp Each CTX is then managed using its own dedicated character device found at @@ -104,7 +104,8 @@ operation: Enable kernel hooks. .El .Sh IOCTL INTERFACE -Once a CTX is allocated, it's management character device accepts several IOC +Once a CTX is allocated, its management character device accepts several +.Xr ioctl 2 requests: .Bl -tag -width "HWT_IOC_RECORD_GET" .It Dv HWT_IOC_START @@ -122,11 +123,11 @@ with this CTX to userspace. .It Dv HWT_IOC_BUFPTR_GET Get current pointer in buffer that is filled by tracing units in real-time. .It Dv HWT_IOC_SET_CONFIG -Set achitecture-specific config (optional). +Set architecture-specific config (optional). .It Dv HWT_IOC_WAKEUP Wake up a thread that has been put to sleep by HWT framework hooks. .It Dv HWT_IOC_SVC_BUF -For SPE-only, the kernel is waiting for userspace to notify that it's copied +For SPE-only, the kernel is waiting for userspace to notify that it has copied out a buffer to avoid data loss/overwriting buffers. .El .Sh SEE ALSO