[PATCH 6.12 327/369] selftests/perf_events: Add a mmap() correctness test