/third_party/python/Lib/test/ |
H A D | test_faulthandler.py | 3 import faulthandler namespace 140 import faulthandler 141 faulthandler.enable() 142 faulthandler._read_null() 151 import faulthandler 152 faulthandler.enable() 153 faulthandler._read_null() 161 import faulthandler 162 faulthandler.enable() 163 faulthandler [all...] |
H A D | test_xxtestfuzz.py | 1 import faulthandler namespace 24 faulthandler.enable()
|
H A D | _test_eintr.py | 12 import faulthandler namespace 60 # Use faulthandler as watchdog to debug when a test hangs 62 faulthandler.dump_traceback_later(10 * 60, exit=True, 72 faulthandler.cancel_dump_traceback_later()
|
H A D | test_concurrent_futures.py | 1165 import faulthandler namespace 1166 faulthandler.disable() 1167 faulthandler._sigsegv() 1237 import faulthandler namespace 1240 faulthandler.dump_traceback(file=f)
|
H A D | test_embed.py | 444 'faulthandler': 0, 528 faulthandler=0, variable in InitConfigTests 881 'faulthandler': 1, 915 'faulthandler': 1, 946 'faulthandler': 1, 958 faulthandler=1, 966 faulthandler=1, 976 'faulthandler': 1, 994 'faulthandler': 1, 1087 'faulthandler' [all...] |
H A D | test_cmd_line.py | 101 # "-X faulthandler" to the command line 738 import faulthandler namespace 742 code = "import faulthandler; print(faulthandler.is_enabled())"
|
/third_party/python/Lib/test/libregrtest/ |
H A D | setup.py | 2 import faulthandler namespace 32 faulthandler.enable(all_threads=True, file=stderr_fd) 41 faulthandler.register(signum, chain=True, file=stderr_fd)
|
H A D | runtest_mp.py | 1 import faulthandler namespace 379 # Rely on faulthandler to kill a worker process. This timouet is 380 # when faulthandler fails to kill a worker process. Give a maximum 381 # of 5 minutes to faulthandler to kill the worker. 415 faulthandler.dump_traceback_later(MAIN_PROCESS_TIMEOUT, 488 faulthandler.cancel_dump_traceback_later()
|
H A D | runtest.py | 1 import faulthandler namespace 178 # Handle faulthandler timeout, capture stdout+stderr, XML serialization 187 faulthandler.dump_traceback_later(ns.timeout, exit=True) 244 faulthandler.cancel_dump_traceback_later()
|
H A D | main.py | 1 import faulthandler namespace 738 faulthandler.dump_traceback_later(EXIT_TIMEOUT, exit=True)
|
/third_party/python/Lib/test/support/ |
H A D | threading_helper.py | 120 import faulthandler namespace 152 faulthandler.dump_traceback(sys.stdout)
|
H A D | __init__.py | 1875 import faulthandler namespace 1882 is_enabled = faulthandler.is_enabled() 1884 faulthandler.disable() 1888 faulthandler.enable(file=fd, all_threads=True)
|
/third_party/python/Python/ |
H A D | initconfig.c | 80 -X faulthandler: enable faulthandler\n\ 102 * Enable the faulthandler module to dump the Python traceback on a crash\n\ 643 assert(config->faulthandler >= 0); in config_check_consistency() 748 config->faulthandler = -1; in _PyConfig_InitCompatConfig() 836 config->faulthandler = 0; in PyConfig_InitIsolatedConfig() 947 COPY_ATTR(faulthandler); in _PyConfig_Copy() 1057 SET_ITEM_INT(faulthandler); in _PyConfig_AsDict() 1338 GET_UINT(faulthandler); in _PyConfig_FromDict() 1811 if (config->faulthandler < in config_read_complex_options() [all...] |
H A D | pylifecycle.c | 1132 /* initialize the faulthandler module */ in init_interp_main() 1133 status = _PyFaulthandler_Init(config->faulthandler); in init_interp_main() 1869 /* unload faulthandler module */ in Py_FinalizeEx() 2637 // This function is called by a signal handler in faulthandler: avoid memory 2791 /* The main purpose of faulthandler is to display the traceback. in fatal_error() 2793 Disable faulthandler to prevent writing a second traceback in fatal_error()
|
/third_party/python/Include/cpython/ |
H A D | initconfig.h | 143 int faulthandler; member
|
/third_party/python/Programs/ |
H A D | _testembed.c | 589 config.faulthandler = 1; in test_init_from_config() 1453 PySys_AddXOption(L"faulthandler"); in test_init_sys_add()
|