Page MenuHomeFreeBSD

tools/regression/pmc: test inherit-miss logging
Needs ReviewPublic

Authored by afscoelho_gmail.com on Sep 3 2026, 9:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 13, 6:09 PM
Unknown Object (File)
Tue, Oct 13, 6:09 PM
Unknown Object (File)
Tue, Oct 13, 6:09 PM
Unknown Object (File)
Tue, Oct 13, 5:50 PM
Unknown Object (File)
Thu, Oct 8, 9:34 AM
Unknown Object (File)
Thu, Oct 8, 8:33 AM
Unknown Object (File)
Wed, Oct 7, 1:29 AM
Unknown Object (File)
Tue, Oct 6, 8:41 AM
Subscribers

Details

Summary

Add tests for the PMCGROUPINHERITMISS log record.

A fixture writes a log file that holds the record, so the parser tests
do not need a PMU or root. Two tests then read it: one checks the
libpmc parser and the text form, and one checks the JSON conversion.
A shell test runs pmcstat(8) over the fixture file and checks that it
reports the record.

Sponsored by: AMD

Signed-off-by: Andre Silva <andasilv@amd.com>

Diff Detail

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

Event Timeline

Rebase on main (D60141 and D60185 are committed). No change.