We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: