facebookincubator / dynolog

Dynolog is a telemetry daemon for performance monitoring and tracing. It exports metrics from different components in the system like the linux kernel, CPU, disks, Intel PT, GPUs etc. Dynolog also integrates with pytorch and can trigger traces for distributed training applications.
MIT License
260 stars 38 forks source link

add PerUncoreCountReader #238

Closed Alston-Tang closed 6 months ago

Alston-Tang commented 6 months ago

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

facebook-github-bot commented 6 months ago

This pull request was exported from Phabricator. Differential Revision: D50585197

facebook-github-bot commented 6 months ago

This pull request was exported from Phabricator. Differential Revision: D50585197

facebook-github-bot commented 6 months ago

This pull request has been merged in facebookincubator/dynolog@2587aac775c9efdd43ed2ead14896771bca04c1d.