Page MenuHomeFreeBSD

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

Authored by raghavendra.kt_amd.com on Thu, Jun 18, 7:06 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jun 19, 7:23 PM
Unknown Object (File)
Fri, Jun 19, 9:37 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