vitasdk
Documentation of the vitasdk
backtrace.h
Go to the documentation of this file.
1
6#ifndef _PSP2_KERNEL_BACKTRACE_H_
7#define _PSP2_KERNEL_BACKTRACE_H_
8
10#include <psp2/types.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
21VITASDK_BUILD_ASSERT_EQ(0x10, SceBacktraceArgs); // size is from FW 3.60
22
40SceInt32 _sceKernelBacktrace(SceUID thread_id, SceKernelCallFrame *call_frame_buffer, SceSize num_bytes_buffer, const SceBacktraceArgs *args);
41
42#ifdef __cplusplus
43}
44#endif
45
46#endif /* _PSP2_KERNEL_BACKTRACE_H_ */
#define VITASDK_BUILD_ASSERT_EQ(__size__, __name__)
Definition build_utils.h:13
Definition backtrace.h:26
SceInt32 mode
Bitwise OR of SceKernelBacktraceMode values.
Definition backtrace.h:18
SceUInt32 reserved[2]
Copied from user memory but unused on FW 3.60.
Definition backtrace.h:19
SceInt32 _sceKernelBacktrace(SceUID thread_id, SceKernelCallFrame *call_frame_buffer, SceSize num_bytes_buffer, const SceBacktraceArgs *args)
Get a thread backtrace.
SceUInt32 * num_frames
Receives the number of frames written to the output buffer. May be NULL.
Definition backtrace.h:17
Definition backtrace.h:16
int32_t SceInt32
Definition types.h:44
unsigned int SceSize
Definition types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition types.h:90
uint32_t SceUInt32
Definition types.h:45