Skip to content

Conversation

jmroot
Copy link
Contributor

@jmroot jmroot commented Oct 21, 2025

  • Use mach_absolute_time() when clock_gettime() is not available.
  • Define MAP_ANONYMOUS to MAP_ANON if the latter is defined and the former is not. This matches what is done elsewhere in the code base in this situation, e.g. mmapmodule.c.
  • Don't build perf trampoline on ppc systems, where getting this to work would be a lot more effort.

* Use mach_absolute_time() when clock_gettime() is not available.
* Define MAP_ANONYMOUS to MAP_ANON if the latter is defined and the
  former is not. This matches what is done elsewhere in the code base
  in this situation, e.g. mmapmodule.c.
* Don't build perf trampoline on ppc systems, where getting this to
  work would be a lot more effort.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants