All gmon want's is a region of memory without the overhead of malloc().
Just mapping some pages with mmap is an easy way to accomplish this.
Approved by: jhb, cem, emaste
Obtained from: CheriBSD (
|
||
---|---|---|
.. | ||
gmon.c | ||
Makefile.inc | ||
mcount.c | ||
moncontrol.3 | ||
Symbol.map |