Drop umbrella include from 9 medium .c files (batch 2)

Converted: hpa_utils, ecache, extent_mmap, util, safety_check,
prof_stats, peak_event, inspect, log.

(src/div.c was already minimal; skipped.)

One latent hermeticity bug surfaced: peak_event.h declared
`extern te_base_cb_t peak_te_handler;` but didn't include
thread_event_registry.h where te_base_cb_t is typedef'd.  Added the
include to peak_event.h.  peak_event.c also needs thread_event.h
directly for TE_MIN_START_WAIT.

Step 6 (Option B) of the cyclical-dep cleanup, batch 2 of N.
This commit is contained in:
Slobodan Predolac 2026-05-27 18:50:57 -04:00 committed by Slobodan Predolac
parent 22c3dc450c
commit 89440d0fd3
10 changed files with 23 additions and 12 deletions

View file

@ -2,6 +2,7 @@
#define JEMALLOC_INTERNAL_PEAK_EVENT_H
#include "jemalloc/internal/jemalloc_preamble.h"
#include "jemalloc/internal/thread_event_registry.h"
#include "jemalloc/internal/tsd_types.h"
/*