diff options
| author | Tauwni <102470988+Tauwni@users.noreply.github.com> | 2026-11-26 12:19:12 +0100 |
|---|---|---|
| committer | Tauwni <102470988+Tauwni@users.noreply.github.com> | 2026-11-26 12:19:12 +0100 |
| commit | beffaa9a476ca1b3dfd9cfa55e39eafbb1f5eec6 (patch) | |
| tree | 32877805bf4eb46d9a89d5753db6b5a2b06dc845 /runtime/src/thread_stacks.h | |
| parent | f29ca7bacae9507f83e8c56abdb604bd4efb4cf1 (diff) | |
| parent | a73a57e1339be072baf5522351c8ec7f1482b56b (diff) | |
Merge main into fix/null-descriptor-generated-dir
Diffstat (limited to 'runtime/src/thread_stacks.h')
| -rw-r--r-- | runtime/src/thread_stacks.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/src/thread_stacks.h b/runtime/src/thread_stacks.h index 523c7b266..1edc1b350 100644 --- a/runtime/src/thread_stacks.h +++ b/runtime/src/thread_stacks.h | |||
| @@ -35,4 +35,8 @@ bool parse_stack_times(std::string_view text, std::vector<unsigned>& seconds); | |||
| 35 | // sampler before unmapping the title image. | 35 | // sampler before unmapping the title image. |
| 36 | std::jthread start_thread_stacks(); | 36 | std::jthread start_thread_stacks(); |
| 37 | 37 | ||
| 38 | // The call chain of thread `tid` now, or of every other thread when `tid` is 0, printed as LEONIDA_STACKS does under | ||
| 39 | // the tag `why`. One call at a time; the device-loss diagnostics call it (vulkan_device_fault.h thread_stack_hook). | ||
| 40 | void print_thread_stacks_now(std::uint32_t tid, const char* why) noexcept; | ||
| 41 | |||
| 38 | } // namespace rt | 42 | } // namespace rt |