Getting no perf_event_open stats
Đang mở
- Ngôn ngữ chính
- Zig
- Star
- 2k
- Fork
- 94
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Iam getting no perf_event_open stats from poop but perf stat is working just fine.
I have tracked down a fix but I am not happy with it as it goes against the syscall docs.
Changing:
std.posix.perf_event_open(&attr, 0, -1, perf_fds[0], PERF.FLAG.FD_CLOEXEC)
to
std.posix.perf_event_open(&attr, 0, -1, -1, PERF.FLAG.FD_CLOEXEC)
Makes it work again.
I am on kernel 6.12.1 if it helps to figure out this weirdness.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.