pub(super) fn count_samples<'a>( profile: &'a RawProfile, sym: &dyn Fn(usize) -> &'a str, ) -> SampleCounts