There was an error while loading. Please reload this page.
1 parent a87ad58 commit 014e1eeCopy full SHA for 014e1ee
2 files changed
src/vmprof_common.c
@@ -4,6 +4,9 @@
4
#include <errno.h>
5
6
#ifdef RPYTHON_VMPROF
7
+
8
+int get_stack_trace(PY_THREAD_STATE_T * current, void** result, int max_depth, intptr_t pc);
9
10
#ifdef RPYTHON_LL2CTYPES
11
/* only for testing: ll2ctypes sets RPY_EXTERN from the command-line */
12
@@ -193,7 +196,7 @@ PY_STACK_FRAME_T *get_vmprof_stack(void)
193
196
#endif
194
197
195
198
intptr_t vmprof_get_traceback(void *stack, void *ucontext,
- intptr_t *result_p, intptr_t result_length)
199
+ void **result_p, intptr_t result_length)
200
{
201
int n;
202
int enabled;
src/vmprof_common.h
@@ -96,7 +96,7 @@ PY_STACK_FRAME_T *get_vmprof_stack(void);
96
97
RPY_EXTERN
98
99
- intptr_t *result_p, intptr_t result_length);
+ void **result_p, intptr_t result_length);
100
101
102
int vmprof_get_signal_type(void);
0 commit comments