Skip to content

Commit

Permalink
bpf: Use native unwinder program id
Browse files Browse the repository at this point in the history
rather than using old hardcoded value
  • Loading branch information
javierhonduco committed Apr 3, 2024
1 parent 074555f commit 0edcae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bpf/profiler.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0edcae4

Please sign in to comment.