Page MenuHomeFreeBSD

tools/regression/pmc: test inherit-miss logging
DraftPublic

Authored by afscoelho_gmail.com on Thu, Sep 3, 9:33 PM.
Tags
None
Referenced Files
F170937822: D59369.id185766.diff
Mon, Sep 7, 5:48 PM
F170937753: D59369.id185766.diff
Mon, Sep 7, 5:47 PM
F170909342: D59369.diff
Mon, Sep 7, 12:25 PM
Unknown Object (File)
Sun, Sep 6, 7:09 PM
Unknown Object (File)
Sat, Sep 5, 6:48 PM
Unknown Object (File)
Sat, Sep 5, 6:48 PM
Unknown Object (File)
Sat, Sep 5, 3:23 AM
Unknown Object (File)
Fri, Sep 4, 7:41 PM
Subscribers
This is a draft revision that has not yet been submitted for review.

Details

Reviewers
None
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

Diff Detail

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