Hello tech@ and otto, Why do only some calling functions store the pinttes in region_info as below:
static void * malloc_bytes(struct dir_info *d, size_t size, void *f) { </snip> found: if (i == 0 && k == 0 && DO_STATS) { struct region_info *r = find(d, bp->page); STATS_SETF(r, f); } I found following mail from otto: https://marc.info/?l=openbsd-tech&m=168171382927798&w=2 > The null "f" values (call sites) are due to the sampling nature of > small allocations. Recording all call sites of all potential leaks > introduces too much overhead. Is this the answer to my question? -- ASOU Masato