File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,8 @@ struct _tracemalloc_runtime_state {
9999 Protected by TABLES_LOCK(). */
100100 _Py_hashtable_t * domains ;
101101
102+ struct tracemalloc_traceback empty_traceback ;
103+
102104 Py_tss_t reentrant_key ;
103105};
104106
Original file line number Diff line number Diff line change @@ -63,7 +63,8 @@ typedef struct tracemalloc_traceback traceback_t;
6363static const unsigned long MAX_NFRAME = Py_MIN (UINT16_MAX , ((SIZE_MAX - sizeof (traceback_t )) / sizeof (frame_t ) + 1 ));
6464
6565
66- static traceback_t tracemalloc_empty_traceback ;
66+ #define tracemalloc_empty_traceback _PyRuntime.tracemalloc.empty_traceback
67+
6768
6869/* Trace of a memory block */
6970typedef struct {
Original file line number Diff line number Diff line change @@ -377,7 +377,6 @@ Modules/faulthandler.c - old_stack -
377377# #-----------------------
378378# # state
379379
380- Modules/_tracemalloc.c - tracemalloc_empty_traceback -
381380Modules/faulthandler.c faulthandler_dump_traceback reentrant -
382381Modules/signalmodule.c - is_tripped -
383382Modules/signalmodule.c - signal_global_state -
You can’t perform that action at this time.
0 commit comments