Skip to content

Commit

Permalink
Remove aarch64 libunwind workaround
Browse files Browse the repository at this point in the history
Remove workaround for old libunwind bug on aarch64 which should be fixed in recent versions
  • Loading branch information
daboehme authored May 21, 2024
1 parent 926356a commit b914a6c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/services/sampler/Sampler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b914a6c

Please sign in to comment.