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
Nowadays, we have to duplicate the original BPF program as follows:
const obj_bytes = @embedFile("@perf_event"); const bytes = try allocator.dupe(u8, obj_bytes); defer allocator.free(bytes);
Once ziglang/zig#4680 is resolved, this WA could be removed.
The text was updated successfully, but these errors were encountered:
build with ReleaseFast unconditionally to workaround pointer alignmen…
523f145
…t issue If building with Debug, we will encounter illegal instruction exception due to https://github.com/ziglang/zig/wiki/FAQ#why-do-i-get-illegal-instruction-when-using-with-zig-cc-to-build-c-code So let's workaround this issue right now. Close issue #2 Signed-off-by: Tw <tw19881113@gmail.com>
0dc66ee
No branches or pull requests
Nowadays, we have to duplicate the original BPF program as follows:
Once ziglang/zig#4680 is resolved, this WA could be removed.
The text was updated successfully, but these errors were encountered: