Skip to content

Commit

Permalink
WIP: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
afek854 committed Oct 30, 2024
1 parent 26e8d74 commit 3219686
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/ebpf/tracemgmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ void send_trace(void *ctx, Trace *trace) {
}

DEBUG_PRINT("OTEL4 registers ctx: sp %lx", trace->registers.sp);
bpf_perf_event_output(ctx, &trace_events, BPF_F_CURRENT_CPU, trace, send_size+sizeof(struct pt_regs));
bpf_perf_event_output(ctx, &trace_events, BPF_F_CURRENT_CPU, trace, send_size);
}

// is_kernel_address checks if the given address looks like virtual address to kernel memory.
Expand Down
Binary file modified support/ebpf/tracer.ebpf.release.amd64
Binary file not shown.

0 comments on commit 3219686

Please sign in to comment.