Page MenuHomeFreeBSD

hwpmc: build hwpmc_pmu.c and hwpmc_assign.c
Needs ReviewPublic

Authored by raghavendra.kt_amd.com on Jun 18 2026, 7:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 15, 5:05 AM
Unknown Object (File)
Tue, Aug 11, 11:50 PM
Unknown Object (File)
Tue, Aug 11, 7:59 PM
Unknown Object (File)
Sun, Aug 9, 5:07 PM
Unknown Object (File)
Sat, Aug 8, 6:03 PM
Unknown Object (File)
Sat, Aug 8, 4:54 PM
Unknown Object (File)
Sat, Aug 8, 9:23 AM
Unknown Object (File)
Sat, Aug 8, 4:59 AM
Subscribers
None

Details

Summary

Build the two new source files for both the loadable hwpmc module
(sys/modules/hwpmc/Makefile) and the static amd64 / i386 kernels.
The static-kernel wiring lives in the unified sys/conf/files.x86,
which both files.amd64 and files.i386 include, so a single hunk
covers both architectures. No other architecture lists the two
files: hwpmc_mod.c is linked against the no-op stubs in hwpmc_pmu.h
there, so the module continues to build everywhere.

Sponsored by: AMD
Signed-off-by: Raghavendra K T <raghavendra.kt@amd.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 73962
Build 70845: arc lint + arc unit