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
188 stars 34 forks source link

bperf: Do not use BPF_CORE_READ #196

Closed liu-song-6 closed 7 months ago

liu-song-6 commented 7 months ago

Summary: Use direct BTF access to be faster.

We need bpf_rdonly_cast() here, to cast "struct cgroup_subsys_state " to "struct cgroup "

Reviewed By: anakryiko

Differential Revision: D51837046

facebook-github-bot commented 7 months ago

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

facebook-github-bot commented 7 months ago

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

facebook-github-bot commented 7 months ago

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

facebook-github-bot commented 7 months ago

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

facebook-github-bot commented 7 months ago

This pull request has been merged in facebookincubator/dynolog@2381a5ed618728bd2eaeb815d750ba1ef68c6ebb.