Closed tw4452852 closed 3 months ago
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 https://github.com/ziglang/zig/issues/4680 is resolved, this WA could be removed.
Nowadays, we have to duplicate the original BPF program as follows:
Once https://github.com/ziglang/zig/issues/4680 is resolved, this WA could be removed.