Page MenuHomeFreeBSD

pmcstat(8): warn about unfittable grouped sample periods
Needs ReviewPublic

Authored by afscoelho_gmail.com on Thu, Sep 3, 9:32 PM.
Tags
None
Referenced Files
F171074681: D59363.diff
Tue, Sep 8, 1:29 PM
F170977659: D59363.id185760.diff
Mon, Sep 7, 11:40 PM
F170949150: D59363.diff
Mon, Sep 7, 7:34 PM
F170943579: D59363.id185760.diff
Mon, Sep 7, 6:42 PM
Unknown Object (File)
Mon, Sep 7, 7:03 AM
Unknown Object (File)
Mon, Sep 7, 3:16 AM
Unknown Object (File)
Mon, Sep 7, 2:28 AM
Unknown Object (File)
Sun, Sep 6, 10:00 AM
Subscribers

Details

Summary

A sampling PMC in a multiplexed group only retires a sample while its
group holds the hardware. If the period needs more events than one
rotation window can retire, the PMC produces almost no samples, and
pmcstat reported nothing about it.

Warn once, after the run, when the requested period could not fit a
rotation window. Compute the estimate before the run so that the
warning reflects what was asked for.

Report descendants whose group could not follow a fork. The work of
those children is missing from the totals, which otherwise look
complete. Print the group-inherit-miss record in the log dump and in
pmc(8) view.

Sponsored by: AMD

Diff Detail

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