Page MenuHomeFreeBSD

pmcstat(8): warn about unfittable grouped sample periods
DraftPublic

Authored by afscoelho_gmail.com on Thu, Sep 3, 9:32 PM.
Tags
None
Referenced Files
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
F170882981: D59363.diff
Mon, Sep 7, 7:03 AM
F170865284: D59363.diff
Mon, Sep 7, 3:16 AM
F170859435: D59363.diff
Mon, Sep 7, 2:28 AM
Unknown Object (File)
Sun, Sep 6, 10:00 AM
Unknown Object (File)
Sat, Sep 5, 11:52 AM
Subscribers
This is a draft revision that has not yet been submitted for review.

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