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
F174473856: D59369.id185766.diff
Sat, Oct 3, 12:58 PM
F174455625: D59369.id188475.diff
Sat, Oct 3, 9:16 AM
F174409701: D59369.id188260.diff
Sat, Oct 3, 12:11 AM
F174406221: D59369.id188112.diff
Fri, Oct 2, 11:38 PM
Unknown Object (File)
Fri, Oct 2, 8:41 PM
Unknown Object (File)
Thu, Oct 1, 10:18 PM
Unknown Object (File)
Thu, Oct 1, 10:14 PM
Unknown Object (File)
Thu, Oct 1, 6:11 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 77649
Build 74532: arc lint + arc unit

Event Timeline

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