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
Unknown Object (File)
Sat, Sep 26, 1:59 AM
Unknown Object (File)
Tue, Sep 22, 6:47 PM
Unknown Object (File)
Tue, Sep 22, 1:20 AM
Unknown Object (File)
Mon, Sep 21, 7:22 PM
Unknown Object (File)
Sat, Sep 19, 5:19 AM
Unknown Object (File)
Tue, Sep 15, 6:16 AM
Unknown Object (File)
Mon, Sep 14, 8:17 AM
Unknown Object (File)
Sat, Sep 12, 2:24 PM
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 77488
Build 74371: arc lint + arc unit