Page MenuHomeFreeBSD

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

Authored by afscoelho_gmail.com on Thu, Sep 3, 9:33 PM.
Tags
None
Referenced Files
F171167656: D59369.diff
Wed, Sep 9, 4:44 AM
F171146087: D59369.id.diff
Wed, Sep 9, 12:15 AM
Unknown Object (File)
Tue, Sep 8, 11:19 AM
Unknown Object (File)
Tue, Sep 8, 8:35 AM
Unknown Object (File)
Tue, Sep 8, 7:01 AM
Unknown Object (File)
Mon, Sep 7, 5:48 PM
Unknown Object (File)
Mon, Sep 7, 5:47 PM
Unknown Object (File)
Mon, Sep 7, 12:25 PM
Subscribers

Details

Reviewers
None
Group Reviewers
pmc
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 76463
Build 73346: arc lint + arc unit