We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8dac3a commit 68972e5Copy full SHA for 68972e5
Modules/_remote_debugging/_remote_debugging.h
@@ -265,7 +265,11 @@ typedef struct {
265
PVOID win_process_buffer;
266
ULONG win_process_buffer_size;
267
#endif
268
- // No persistent libunwind state needed - using simple PTRACE_ATTACH/DETACH per sample
+#ifdef HAVE_LIBUNWIND
269
+ // Persistent libunwind address space - created once, reused for all samples
270
+ // This is critical for performance: creating/destroying addr_space per sample is 3x slower
271
+ unw_addr_space_t native_addr_space;
272
+#endif
273
} RemoteUnwinderObject;
274
275
#define RemoteUnwinder_CAST(op) ((RemoteUnwinderObject *)(op))
0 commit comments