Page MenuHomeFreeBSD

hwpmc: build hwpmc_pmu.c and hwpmc_assign.c
AbandonedPublic

Authored by afscoelho_gmail.com on Jun 18 2026, 7:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 17, 8:53 AM
Unknown Object (File)
Sat, Sep 12, 11:19 AM
Unknown Object (File)
Sat, Sep 5, 5:39 AM
Unknown Object (File)
Wed, Sep 2, 5:02 PM
Unknown Object (File)
Wed, Sep 2, 10:08 AM
Unknown Object (File)
Aug 15 2026, 5:05 AM
Unknown Object (File)
Aug 11 2026, 11:50 PM
Unknown Object (File)
Aug 11 2026, 7:59 PM
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