Closed captain5050 closed 3 years ago
It can be useful in profilers if the pages used for JIT execution are named to label the source. To do this the memfd_create syscall is used.
Before (from /proc/self/maps): 7ffff7ffb000-7ffff7ffc000 rw-p 00000000 00:00 0 After: 7ffff7ffb000-7ffff7ffc000 rw-s 00000000 00:01 63584 /memfd:xbyak (deleted)
Thank for the patch. I fixed some points. https://github.com/herumi/xbyak/compare/2fb843c...0ad9b9b
I changed the macro name to XBYAK_USE_MEMFD.
XBYAK_USE_MEMFD
Cool, thanks!
It can be useful in profilers if the pages used for JIT execution are named to label the source. To do this the memfd_create syscall is used.
Before (from /proc/self/maps): 7ffff7ffb000-7ffff7ffc000 rw-p 00000000 00:00 0 After: 7ffff7ffb000-7ffff7ffc000 rw-s 00000000 00:01 63584 /memfd:xbyak (deleted)