Home
last modified time | relevance | path

Searched refs:faulthandler (Results 1 – 25 of 48) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_faulthandler.py3 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 …]
Dtest_xxtestfuzz.py1 import faulthandler
24 faulthandler.enable()
Dtest_concurrent_futures.py1015 import faulthandler
1016 faulthandler.disable()
1017 faulthandler._sigsegv()
1087 import faulthandler
1090 faulthandler.dump_traceback(file=f)
Dtest_embed.py431 faulthandler=0,
849 faulthandler=1,
857 faulthandler=1,
/external/python/cpython3/Doc/library/
Dfaulthandler.rst1 :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
Ddebug.rst16 faulthandler.rst
Ddevmode.rst22 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/
Dsetup.py2 import faulthandler
27 faulthandler.enable(all_threads=True, file=stderr_fd)
36 faulthandler.register(signum, chain=True, file=stderr_fd)
Druntest.py2 import faulthandler
122 faulthandler.dump_traceback_later(ns.timeout, exit=True)
167 faulthandler.cancel_dump_traceback_later()
Druntest_mp.py2 import faulthandler
395 faulthandler.dump_traceback_later(MAIN_PROCESS_TIMEOUT,
463 faulthandler.cancel_dump_traceback_later()
Dmain.py2 import faulthandler
642 faulthandler.dump_traceback_later(EXIT_TIMEOUT, exit=True)
/external/python/cpython3/Python/
Dinitconfig.c622 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/
Dmulti_process_runner.py48 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/
Deintr_tester.py12 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/
Ddotest.py454 import faulthandler
459 faulthandler.enable()
461 if getattr(faulthandler, 'register', None):
462 faulthandler.register(signal.SIGTERM, chain=True)
/external/python/cpython3/Include/cpython/
Dinitconfig.h148 int faulthandler; member
/external/python/cpython3/
DAndroid-bionic.bp33 "Modules/faulthandler.c",
DAndroid-linux_x86_64.bp33 "Modules/faulthandler.c",
DAndroid-darwin_x86_64.bp69 "Modules/faulthandler.c",
/external/python/cpython3/Lib/test/support/
D__init__.py2139 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/
Dautoserv428 import faulthandler
429 faulthandler.register(signal.SIGTERM, all_threads=True, chain=True)
Dautoserv.py428 import faulthandler
429 faulthandler.register(signal.SIGTERM, all_threads=True, chain=True)
/external/python/cpython3/Modules/
DSetup128 # faulthandler module
129 faulthandler faulthandler.c
/external/python/cpython3/Tools/c-analyzer/
DTODO49 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)
Dignored-globals.txt113 # Modules/faulthandler.c

12