Skip to content

Commit

Permalink
trace: remove redundant inline keyword to fix previous CI
Browse files Browse the repository at this point in the history
Signed-off-by: Tw <[email protected]>
  • Loading branch information
tw4452852 committed Dec 27, 2023
1 parent f64ed47 commit 4e98b58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/trace.bpf.zig
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ fn generate_syscall(comptime name: []const u8, comptime id: u32) type {
}

comptime {
inline for (kprobes, 0..) |f, i| {
for (kprobes, 0..) |f, i| {
_ = generate_kprobe(f, i);
}

inline for (syscalls, kprobes.len..) |f, i| {
for (syscalls, kprobes.len..) |f, i| {
_ = generate_syscall(f, i);
}
}

0 comments on commit 4e98b58

Please sign in to comment.