mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
`mmap`, `munmap`, and `mprotect` are used by CPython for memory management, which may occur in the middle of the FileIO tests. The system calls can also be used with files, so `strace` includes them in its `%file` and `%desc` filters. Filter out the `mmap` system calls related to memory allocation for the file tests. Currently FileIO doesn't do `mmap` at all, so didn't add code to track from `mmap` through `munmap` since it wouldn't be used. For now if an `mmap` on a fd happens, the call will be included (which may cause test to fail), and at that time support for tracking the address throug `munmap` could be added. |
||
|---|---|---|
| .. | ||
| _hypothesis_stubs | ||
| interpreters | ||
| __init__.py | ||
| ast_helper.py | ||
| asynchat.py | ||
| asyncore.py | ||
| bytecode_helper.py | ||
| hashlib_helper.py | ||
| hypothesis_helper.py | ||
| i18n_helper.py | ||
| import_helper.py | ||
| logging_helper.py | ||
| os_helper.py | ||
| pty_helper.py | ||
| refleak_helper.py | ||
| script_helper.py | ||
| smtpd.py | ||
| socket_helper.py | ||
| strace_helper.py | ||
| testcase.py | ||
| threading_helper.py | ||
| venv.py | ||
| warnings_helper.py | ||