diff --git a/src/bpf/profiler.bpf.c b/src/bpf/profiler.bpf.c index 9860b49..5aaf47b 100644 --- a/src/bpf/profiler.bpf.c +++ b/src/bpf/profiler.bpf.c @@ -679,7 +679,7 @@ int dwarf_unwind(struct bpf_perf_event_data *ctx) { LOG("Continuing walking the stack in a tail call, current tail %d", unwind_state->tail_calls); unwind_state->tail_calls++; - bpf_tail_call(ctx, &programs, 0); + bpf_tail_call(ctx, &programs, PROGRAM_NATIVE_UNWINDER); } // We couldn't get the whole stacktrace.