From b914a6cab5a797c8ba2bc3923c4f068f95fd9928 Mon Sep 17 00:00:00 2001 From: David Boehme Date: Tue, 21 May 2024 15:37:32 -0700 Subject: [PATCH] Remove aarch64 libunwind workaround Remove workaround for old libunwind bug on aarch64 which should be fixed in recent versions --- src/services/sampler/Sampler.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/services/sampler/Sampler.cpp b/src/services/sampler/Sampler.cpp index 8f6770615..87a4fa80b 100644 --- a/src/services/sampler/Sampler.cpp +++ b/src/services/sampler/Sampler.cpp @@ -85,11 +85,7 @@ void on_prof(int sig, siginfo_t *info, void *context) unw_context_t unw_ctx; unw_cursor_t unw_cursor; -#ifdef __aarch64__ - unw_getcontext(unw_ctx); -#else unw_getcontext(&unw_ctx); -#endif if (unw_init_local(&unw_cursor, &unw_ctx) >= 0) { unw_step(&unw_cursor); // get us out of the sample handler frame