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