-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently trying to take a backtrace while the CPU profiler is running results in a deadlock, because taking a backtrace segfaults, as we don't write any debug symbols during JIT compilation (which causes other deadlocks in libgcc). To fix this, disable the profile's backtracing when within Wasm. In the future we should use Wasmtime's profiling APIs to get a stacktrace within the guest program that is running. For more information on that API see: https://docs.wasmtime.dev/api/wasmtime/struct.GuestProfiler.html Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
- Loading branch information
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters