We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fcf2b7 commit 1880772Copy full SHA for 1880772
Lib/test/support/strace_helper.py
@@ -74,7 +74,7 @@ def sections(self):
74
def _filter_memory_call(call):
75
# mmap can operate on a fd or "MAP_ANONYMOUS" which gives a block of memory.
76
# Ignore "MAP_ANONYMOUS + the "MAP_ANON" alias.
77
- if call.syscall == "mmap" and "MAP_ANON" in call.args[3]:
+ if call.syscall in ("mmap", "mmap2") and "MAP_ANON" in call.args[3]:
78
return True
79
80
if call.syscall in ("munmap", "mprotect"):
0 commit comments