freebsd-dev/sys
Mitchell Horne 5fc97cc325 hwpmc(4): document debugging options
The debug options for hwpmc are not documented in detail anywhere, and
setting it up was error-prone the first time I had to figure it out (and
each time I've had to remember it). Add some explanation of the required
options and describe the kern.hwpmc.debugflags sysctl format.

Reviewed by:	emaste
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D40545
2023-06-16 13:44:54 -03:00
..
amd64 amd64/arm64 pmap: Stop requiring the accessed bit for superpage promotion 2023-06-12 13:40:57 -05:00
arm fix qcom_cpu_kpssv2 compile on ASUS_AC1300 2023-06-12 08:30:15 -06:00
arm64 vm_phys: add binary segment search 2023-06-16 01:43:45 -05:00
bsm
cam spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
cddl dtrace/arm64: Fix user memory access routines 2023-06-15 12:39:21 -04:00
compat linuxkpi: advance platform_device 2023-06-13 09:49:01 +02:00
conf armv8crypto: Avoid overriding -march when compiling some source files 2023-06-15 12:38:45 -04:00
contrib qat: Add Intel® 4xxx Series VF driver support 2023-06-12 13:44:01 -04:00
crypto ossl: Provide a fallback definition of __uint128_t when needed 2023-06-04 12:39:44 -04:00
ddb spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
dev oce(4): deprecate 2023-06-15 17:35:12 +01:00
dts spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
fs fusefs: Remove an unused pbuf zone 2023-05-22 09:33:57 -04:00
gdb netgdb: Fix netgdb double ack, print proxy address 2023-05-27 09:34:17 -07:00
geom spdx: The BSD-2-Clause-NetBSD identifier is obsolete, drop -NetBSD 2023-05-12 10:44:04 -06:00
gnu spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
i386 Regenerate sysent stuff after $FreeBSD$ removal 2023-06-09 07:28:27 -06:00
isa spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
kern namei: Reset the lookup to start from the real root for abs symlink target 2023-06-13 15:24:25 +03:00
kgssapi spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
libkern spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
modules mpi3mr: 3rd Generation Tri-Mode NVMe/SAS/SATA MegaRaid / eHBA 2023-06-15 08:52:40 -06:00
net netlink: convert to IfAPI. 2023-06-16 15:59:34 +00:00
net80211 net80211: Radiotap: update for defines 2023-05-20 00:56:21 +00:00
netgraph SPDX: It's spelled 'SPDX-License-Identifier' 2023-05-12 10:44:04 -06:00
netinet tcp: add missing static keywords 2023-06-14 14:21:28 -07:00
netinet6 netinet6: make IPv6 fragment TTL per-VNET configurable. 2023-06-01 12:04:49 +00:00
netipsec ipsec: Make algorithm tables read-only 2023-06-02 13:43:15 -04:00
netlink netlink: convert to IfAPI. 2023-06-16 15:59:34 +00:00
netpfil dummynet: fix wf2q use-after-free 2023-06-13 15:51:47 +02:00
netsmb spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
nfs Fix panic in nfs bootp/diskless after 0785c323f3. 2023-06-02 12:57:26 -04:00
nfsclient
nfsserver
nlm spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
ofed spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
opencrypto crypto: Advance the correct pointer in crypto_cursor_copydata() 2023-06-12 12:52:24 -04:00
powerpc sysentvec: Retire sv_imgact_try as unneeded anymore 2023-05-29 11:18:11 +03:00
riscv sysentvec: Retire sv_imgact_try as unneeded anymore 2023-05-29 11:18:11 +03:00
rpc spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
security veriexec: Do not save error from file info in fingerprint status 2023-06-09 10:49:59 -04:00
sys hwpmc(4): document debugging options 2023-06-16 13:44:54 -03:00
teken spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
tests ktest: make ktest work with Netlink loaded as a module. 2023-06-13 06:04:14 +00:00
tools makesyscall: Stop generating $FreeBSD$ 2023-06-09 07:26:24 -06:00
ufs Write out corrected superblock when creating a UFS/FFS snapshot. 2023-06-13 00:22:13 -07:00
vm vm_phys: Fix typo in 9e81742892 2023-06-16 03:12:42 -05:00
x86 hwpstate_amd: calculate power if P-state info comes from MSR 2023-06-12 12:52:24 -04:00
xdr spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
xen spdx: Remove duplicate lines 2023-05-12 10:44:03 -06:00
Makefile
README.md note that some arch independent code can live in dev (e.g. SMBios) 2023-03-03 01:54:07 -08:00

FreeBSD Kernel Source:

This directory contains the source files and build glue that make up the FreeBSD kernel and its modules, including both original and contributed software.

Kernel configuration files are located in the conf/ subdirectory of each architecture. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries. LINT is a compile-only configuration used to maximize build coverage and detect regressions.

Source Roadmap:

Directory Description
amd64 AMD64 (64-bit x86) architecture support
arm 32-bit ARM architecture support
arm64 64-bit ARM (AArch64) architecture support
cam Common Access Method storage subsystem - cam(4) and ctl(4)
cddl CDDL-licensed optional sources such as DTrace
conf kernel build glue
compat Linux compatibility layer, FreeBSD 32-bit compatibility
contrib 3rd-party imported software such as OpenZFS
crypto crypto drivers
ddb interactive kernel debugger - ddb(4)
fs most filesystems, excluding UFS, NFS, and ZFS
dev device drivers and other arch independent code
gdb kernel remote GDB stub - gdb(4)
geom GEOM framework - geom(4)
i386 i386 (32-bit x86) architecture support
kern main part of the kernel
libkern libc-like and other support functions for kernel use
modules kernel module infrastructure
net core networking code
net80211 wireless networking (IEEE 802.11) - net80211(4)
netgraph graph-based networking subsystem - netgraph(4)
netinet IPv4 protocol implementation - inet(4)
netinet6 IPv6 protocol implementation - inet6(4)
netipsec IPsec protocol implementation - ipsec(4)
netpfil packet filters - ipfw(4), pf(4), and ipfilter(4)
opencrypto OpenCrypto framework - crypto(7)
powerpc PowerPC/POWER (32 and 64-bit) architecture support
riscv 64-bit RISC-V architecture support
security security facilities - audit(4) and mac(4)
sys kernel headers
tests kernel unit tests
ufs Unix File System - ffs(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures