From a8eaa1b7ccf008ee60e3f55fbf035816185a2064 Mon Sep 17 00:00:00 2001 From: Francisco Javier Honduvilla Coto Date: Wed, 1 May 2024 16:03:40 +0100 Subject: [PATCH] unwinder/native: Log vDSO segments 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. --- src/bpf/profiler.bpf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bpf/profiler.bpf.c b/src/bpf/profiler.bpf.c index f36ccc7..66422b3 100644 --- a/src/bpf/profiler.bpf.c +++ b/src/bpf/profiler.bpf.c @@ -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; }