pub fn sample_version_matches(s: &TreeSample) -> boolExpand description
True when a parsed sample carries the current record-layout version.
The daemon and the BPF object compile from the same intf.h, so a
mismatch is either an out-of-tree producer or a stale build; the
check turns that into a loud drop at the parse instead of a silent
misread of the feature fields.