Skip to content

Commit

Permalink
unwinder/native: Log vDSO segments
Browse files Browse the repository at this point in the history
Unwinding through vDSO regions is not supported yet. We need to open the
non-file memory mapping and retrieve its unwind info, but until it's
implemented let's log with the right message.

The mapping types will probably disappear, that's why I am not bothering
with extracting them into a constant or enum.
  • Loading branch information
javierhonduco committed May 1, 2024
1 parent 2da1790 commit a8eaa1b
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 @@ -340,7 +340,7 @@ int dwarf_unwind(struct bpf_perf_event_data *ctx) {
}

if (mapping->type == 2) {
LOG("JIT section, stopping");
LOG("vDSO section, stopping");
return 1;
}

Expand Down

0 comments on commit a8eaa1b

Please sign in to comment.