Closed Alston-Tang closed 6 months ago
This pull request was exported from Phabricator. Differential Revision: D50585197
This pull request was exported from Phabricator. Differential Revision: D50585197
This pull request has been merged in facebookincubator/dynolog@2587aac775c9efdd43ed2ead14896771bca04c1d.
Summary: PerUncoreCountReader will be able to handle uncore hardware perf events where a perf event is not necessarily one per cpu
adding a new concept uncore_scope::Scope to help determine how to open perf events. currently there is only one scope type uncore_scope::Host, which tells PerUncoreCountReader to open perf events for the entire host. this can be extended in the future to support, for example, open perf event for certain socket / certain CDX etc.
Differential Revision: D50585197