Skip to content

Commit aba83d0

Browse files
Merge remote-tracking branch 'upstream/main' into pop_top_calls
2 parents 86541fe + aea0b91 commit aba83d0

File tree

13 files changed

+1075
-1455
lines changed

13 files changed

+1075
-1455
lines changed

Include/internal/pycore_instruments.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ PyAPI_FUNC(void)
6464
_Py_call_instrumentation_exc2(PyThreadState *tstate, int event,
6565
_PyInterpreterFrame *frame, _Py_CODEUNIT *instr, PyObject *arg0, PyObject *arg1);
6666

67-
extern int
68-
_Py_Instrumentation_GetLine(PyCodeObject *code, int index);
69-
7067
PyAPI_DATA(PyObject) _PyInstrumentation_MISSING;
7168
PyAPI_DATA(PyObject) _PyInstrumentation_DISABLE;
7269

@@ -122,6 +119,8 @@ typedef struct _PyCoMonitoringData {
122119
uint8_t *per_instruction_tools;
123120
} _PyCoMonitoringData;
124121

122+
extern int
123+
_Py_Instrumentation_GetLine(PyCodeObject *code, _PyCoLineInstrumentationData *line_data, int index);
125124

126125
#ifdef __cplusplus
127126
}

0 commit comments

Comments
 (0)