Searched refs:ProfilerError (Results 1 – 2 of 2) sorted by relevance
98 static PyObject * ProfilerError = NULL; variable401 PyErr_SetString(ProfilerError, in logreader_tp_iternext()997 PyErr_SetString(ProfilerError, "profiler already active"); in is_available()1001 PyErr_SetString(ProfilerError, "profiler already closed"); in is_available()1022 PyErr_SetString(ProfilerError, "profiler already closed"); in profiler_addinfo()1151 PyErr_SetString(ProfilerError, "profiler not active"); in profiler_stop()1631 if (ProfilerError == NULL) in init_hotshot()1632 ProfilerError = PyErr_NewException("hotshot.ProfilerError", in init_hotshot()1634 if (ProfilerError != NULL) { in init_hotshot()1635 Py_INCREF(ProfilerError); in init_hotshot()[all …]
4 from _hotshot import ProfilerError