Page MenuHomeFreeBSD

hwpmc: add the LBR capability and multipart record type
Needs ReviewPublic

Authored by afscoelho_gmail.com on Sat, Oct 10, 1:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 11, 9:57 AM
Unknown Object (File)
Sun, Oct 11, 6:33 AM
Unknown Object (File)
Sun, Oct 11, 1:30 AM
Unknown Object (File)
Sat, Oct 10, 9:34 PM
Unknown Object (File)
Sat, Oct 10, 4:08 PM
Unknown Object (File)
Sat, Oct 10, 3:43 PM
Unknown Object (File)
Sat, Oct 10, 3:23 PM
Unknown Object (File)
Sat, Oct 10, 6:21 AM
Subscribers

Details

Reviewers
mhorne
gnn
ali_mashtizadeh.com
Group Reviewers
pmc
Summary

Add PMC_CAP_LBR and the PMC_CC_MULTIPART_LBR record type. Make
struct pmc_multipart big enough for 16 branch records, and bump
PMC_VERSION_MINOR.

Depends on D60565

Test Plan

Built amd64 GENERIC + hwpmc.ko, GENERIC without HWPMC_HOOKS, and arm64.
Ran tests/sys/pmc on AMD Zen 6 (LBR v2).

Diff Detail

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