Searched refs:faulthandler (Results 1 – 25 of 48) sorted by relevance
12
/external/python/cpython3/Lib/test/ |
D | test_faulthandler.py | 3 import faulthandler 252 @unittest.skipIf(not hasattr(faulthandler, '_stack_overflow'), 341 was_enabled = faulthandler.is_enabled() 343 faulthandler.enable() 344 self.assertTrue(faulthandler.is_enabled()) 345 faulthandler.disable() 346 self.assertFalse(faulthandler.is_enabled()) 349 faulthandler.enable() 351 faulthandler.disable() 626 @unittest.skipIf(not hasattr(faulthandler, "register"), [all …]
|
D | test_xxtestfuzz.py | 1 import faulthandler 24 faulthandler.enable()
|
D | test_concurrent_futures.py | 1015 import faulthandler 1016 faulthandler.disable() 1017 faulthandler._sigsegv() 1087 import faulthandler 1090 faulthandler.dump_traceback(file=f)
|
D | test_embed.py | 431 faulthandler=0, 849 faulthandler=1, 857 faulthandler=1,
|
/external/python/cpython3/Doc/library/ |
D | faulthandler.rst | 1 :mod:`faulthandler` --- Dump the Python traceback 4 .. module:: faulthandler 12 after a timeout, or on a user signal. Call :func:`faulthandler.enable` to 16 variable or by using the :option:`-X` ``faulthandler`` command line option. 38 alternatively be passed to :func:`faulthandler.enable`. 43 The :ref:`Python Development Mode <devmode>` calls :func:`faulthandler.enable` 71 :ref:`issue with file descriptors <faulthandler-fd>`. 104 descriptors <faulthandler-fd>`. 129 :func:`unregister`: see :ref:`issue with file descriptors <faulthandler-fd>`. 168 $ python3 -q -X faulthandler
|
D | debug.rst | 16 faulthandler.rst
|
D | devmode.rst | 22 PYTHONMALLOC=debug PYTHONASYNCIODEBUG=1 python3 -W default -X faulthandler 59 * Call :func:`faulthandler.enable` at Python startup to install handlers for 63 It behaves as if the :option:`-X faulthandler <-X>` command line option is
|
/external/python/cpython3/Lib/test/libregrtest/ |
D | setup.py | 2 import faulthandler 27 faulthandler.enable(all_threads=True, file=stderr_fd) 36 faulthandler.register(signum, chain=True, file=stderr_fd)
|
D | runtest.py | 2 import faulthandler 122 faulthandler.dump_traceback_later(ns.timeout, exit=True) 167 faulthandler.cancel_dump_traceback_later()
|
D | runtest_mp.py | 2 import faulthandler 395 faulthandler.dump_traceback_later(MAIN_PROCESS_TIMEOUT, 463 faulthandler.cancel_dump_traceback_later()
|
D | main.py | 2 import faulthandler 642 faulthandler.dump_traceback_later(EXIT_TIMEOUT, exit=True)
|
/external/python/cpython3/Python/ |
D | initconfig.c | 622 config->faulthandler = -1; in _PyConfig_InitCompatConfig() 698 config->faulthandler = 0; in PyConfig_InitIsolatedConfig() 809 COPY_ATTR(faulthandler); in _PyConfig_Copy() 915 SET_ITEM_INT(faulthandler); in config_as_dict() 1446 if (config->faulthandler < 0) { in config_read_complex_options() 1449 config->faulthandler = 1; in config_read_complex_options() 1770 if (config->faulthandler < 0) { in config_read() 1771 config->faulthandler = 1; in config_read() 1774 if (config->faulthandler < 0) { in config_read() 1775 config->faulthandler = 0; in config_read() [all …]
|
/external/tensorflow/tensorflow/python/distribute/ |
D | multi_process_runner.py | 48 import faulthandler 50 faulthandler = None variable 807 if faulthandler is not None: 808 faulthandler.enable() 809 faulthandler.register(signal.SIGTERM, chain=True)
|
/external/python/cpython3/Lib/test/eintrdata/ |
D | eintr_tester.py | 12 import faulthandler 61 faulthandler.dump_traceback_later(10 * 60, exit=True, 71 faulthandler.cancel_dump_traceback_later()
|
/external/llvm-project/lldb/packages/Python/lldbsuite/test/ |
D | dotest.py | 454 import faulthandler 459 faulthandler.enable() 461 if getattr(faulthandler, 'register', None): 462 faulthandler.register(signal.SIGTERM, chain=True)
|
/external/python/cpython3/Include/cpython/ |
D | initconfig.h | 148 int faulthandler; member
|
/external/python/cpython3/ |
D | Android-bionic.bp | 33 "Modules/faulthandler.c",
|
D | Android-linux_x86_64.bp | 33 "Modules/faulthandler.c",
|
D | Android-darwin_x86_64.bp | 69 "Modules/faulthandler.c",
|
/external/python/cpython3/Lib/test/support/ |
D | __init__.py | 2139 import faulthandler 2171 faulthandler.dump_traceback(sys.stdout) 2775 import faulthandler 2782 is_enabled = faulthandler.is_enabled() 2784 faulthandler.disable() 2788 faulthandler.enable(file=fd, all_threads=True)
|
/external/autotest/server/ |
D | autoserv | 428 import faulthandler 429 faulthandler.register(signal.SIGTERM, all_threads=True, chain=True)
|
D | autoserv.py | 428 import faulthandler 429 faulthandler.register(signal.SIGTERM, all_threads=True, chain=True)
|
/external/python/cpython3/Modules/ |
D | Setup | 128 # faulthandler module 129 faulthandler faulthandler.c
|
/external/python/cpython3/Tools/c-analyzer/ |
D | TODO | 49 Modules/faulthandler.c:old_stack static stack_t old_stack 50 Modules/faulthandler.c:stack static stack_t stack 51 Modules/faulthandler.c:faulthandler_dump_traceback():reentrant static volatile int reentrant 136 Modules/faulthandler.c:fatal_error static struct { int enabled; PyObj… 137 Modules/faulthandler.c:thread static struct { PyObject *file; in… 321 Modules/faulthandler.c:PyId_enable _Py_IDENTIFIER(enable) 322 Modules/faulthandler.c:PyId_fileno _Py_IDENTIFIER(fileno) 323 Modules/faulthandler.c:PyId_flush _Py_IDENTIFIER(flush) 324 Modules/faulthandler.c:PyId_stderr _Py_IDENTIFIER(stderr)
|
D | ignored-globals.txt | 113 # Modules/faulthandler.c
|
12