CVSROOT: /cvs Module name: src Changes by: dera...@cvs.openbsd.org 2025/05/31 08:17:09
Modified files: lib/libc/gmon : gmon.c Log message: With the recent kernel-writes-buffer changes to profil(), the gmonhdr, kcount buffer, and rawarcs buffer were merged into a single mmap. The froms and tos buffers were still 2 seperate mmaps. Yuichiro NAITO is working on threading profiling support, and when i reviewed his diff I noticed his threaded mmap's and the non-threaded mmap's could be merged further. So this change makes all the buffers contig (with some padding alignment), and simplifies a bunch of failure handling code. done with Yuichiro NAITO