CVSROOT: /cvs Module name: src Changes by: dera...@cvs.openbsd.org 2025/07/16 10:22:58
Modified files: lib/libc : Symbols.list lib/libc/include: thread_private.h lib/libc/thread: rthread.c lib/libc/gmon : gmon.c mcount.c share/mk : bsd.lib.mk sys/lib/libkern: mcount.c sys/sys : gmon.h Log message: This thread-aware profiling support diff comes from Yuichiro NAITO. At runtime, profiling data is stored per-thread. Upon termination, the per-thread profiling data pools are merged into a into a single record, which is then written out (using the new kernel-assisted system). I think the original gmon merging parts may have come from or been inspired by someone at NetBSD. This has been delayed because there were concerns about adding a TLS object which would require other library cranks, so this rides all the major cranks today. ok kettenis tb claudio sthen etc etc etc