Exports for User.
More...
Exports for User.
Using this library in your project
Include the header file in your project:
Link the library to the executable:
◆ SceBacktraceArgs
◆ VITASDK_BUILD_ASSERT_EQ()
◆ _sceKernelBacktrace()
Get a thread backtrace.
- Parameters
-
| [in] | thread_id | Thread ID, or SCE_KERNEL_BACKTRACE_CONTEXT_CURRENT. |
| [out] | call_frame_buffer | Buffer that receives call frames, or NULL when num_bytes_buffer is 0. |
| [in] | num_bytes_buffer | Size of the call-frame buffer in bytes. A non-NULL buffer must have room for at least one frame. |
| [in] | args | Backtrace parameters. Must be non-NULL. |
- Returns
- On success, 0 with SCE_KERNEL_BACKTRACE_MODE_DONT_EXCEED set; otherwise, the total number of frames in the call stack, including frames that did not fit in the output buffer. Returns < 0 on error.
- Note
- On FW 3.60 this function requires development mode. Kernel-mode unwinding also requires the corresponding QAF permission.
◆ num_frames
Receives the number of frames written to the output buffer. May be NULL.
◆ mode
◆ reserved
Copied from user memory but unused on FW 3.60.