Created
April 25, 2016 14:14
-
-
Save nitsanw/dfe809a21869ccbd0e8d7b56e0079432 to your computer and use it in GitHub Desktop.
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
typedef struct { | |
jint lineno; // BCI in the source file | |
jmethodID method_id; // method executed in this frame | |
} ASGCT_CallFrame; | |
typedef struct { | |
JNIEnv *env_id //Env where trace was recorded | |
jint num_frames; // number of frames in this trace | |
ASGCT_CallFrame *frames; | |
} ASGCT_CallTrace; | |
void AsyncGetCallTrace(ASGCT_CallTrace *trace, // pre-allocated trace to fill | |
jint depth, // max number of frames to walk up the stack | |
void* ucontext) // signal context |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment