git: 10d336114d48 - main - tracing(7): Add hwt(4)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Jul 2025 15:36:00 UTC
The branch main has been updated by 0mp:
URL: https://cgit.FreeBSD.org/src/commit/?id=10d336114d488193d06bffa1755bf61f2a027a8f
commit 10d336114d488193d06bffa1755bf61f2a027a8f
Author: Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2025-07-12 09:40:27 +0000
Commit: Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2025-07-13 15:32:48 +0000
tracing(7): Add hwt(4)
Also, reference tracing(7) from hwt(4).
Reviewed by: bnovkov
Event: Berlin Hackathon 202507
Differential Revision: https://reviews.freebsd.org/D51276
---
share/man/man4/hwt.4 | 3 ++-
share/man/man7/tracing.7 | 4 ++++
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/share/man/man4/hwt.4 b/share/man/man4/hwt.4
index df02a4672f36..299332c72542 100644
--- a/share/man/man4/hwt.4
+++ b/share/man/man4/hwt.4
@@ -3,7 +3,7 @@
.\"
.\" SPDX-License-Identifier: BSD-2-Clause
.\"
-.Dd July 7, 2025
+.Dd July 12, 2025
.Dt HWT 4
.Os
.Sh NAME
@@ -131,6 +131,7 @@ 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
+.Xr tracing 7 ,
.Xr hwt 8
.Sh HISTORY
The
diff --git a/share/man/man7/tracing.7 b/share/man/man7/tracing.7
index 4c9aee8ce913..f3e3a5bf98c4 100644
--- a/share/man/man7/tracing.7
+++ b/share/man/man7/tracing.7
@@ -73,6 +73,10 @@ It comes in handy for some niche purposes during kernel development.
It lets kernel programmers log events to a global ring buffer,
which can later be dumped using
.Xr ktrdump 8 .
+.Ss Hardware-Accelerated Tracing
+.Xr hwt 4
+is a kernel trace framework providing infrastructure
+for hardware-assisted tracing.
.Ss Hardware Counters
.Xr pmcstat 8 ,
and its kernel counterpart,