Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions pkg/ebpf/gadgets/hardlink/program.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ GADGET_TRACER_MAP(events, 1024 * 256);
// Define a tracer
GADGET_TRACER(hardlink, events, event);

#ifndef __TARGET_ARCH_arm64
SEC("tracepoint/syscalls/sys_enter_link")
int enter_link(struct syscall_trace_enter *ctx)
{
Expand Down Expand Up @@ -80,6 +81,7 @@ int enter_link(struct syscall_trace_enter *ctx)

return 0;
}
#endif

SEC("tracepoint/syscalls/sys_enter_linkat")
int enter_linkat(struct syscall_trace_enter *ctx)
Expand Down
2 changes: 2 additions & 0 deletions pkg/ebpf/gadgets/symlink/program.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ GADGET_TRACER_MAP(events, 1024 * 256);
// Define a tracer
GADGET_TRACER(symlink, events, event);

#ifndef __TARGET_ARCH_arm64
SEC("tracepoint/syscalls/sys_enter_symlink")
int enter_symlink(struct syscall_trace_enter *ctx)
{
Expand Down Expand Up @@ -75,6 +76,7 @@ int enter_symlink(struct syscall_trace_enter *ctx)

return 0;
}
#endif

SEC("tracepoint/syscalls/sys_enter_symlinkat")
int enter_symlinkat(struct syscall_trace_enter *ctx)
Expand Down
Loading