summaryrefslogtreecommitdiff
path: root/py/mpstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpstate.h')
-rw-r--r--py/mpstate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/py/mpstate.h b/py/mpstate.h
index 83fea3eb4..aba32084d 100644
--- a/py/mpstate.h
+++ b/py/mpstate.h
@@ -253,6 +253,12 @@ typedef struct _mp_state_thread_t {
mp_obj_dict_t *dict_globals;
nlr_buf_t *nlr_top;
+
+ #if MICROPY_PY_SYS_SETTRACE
+ mp_obj_t prof_trace_callback;
+ bool prof_callback_is_executing;
+ struct _mp_code_state_t *current_code_state;
+ #endif
} mp_state_thread_t;
// This structure combines the above 3 structures.