[PATCH OLK-5.10 17/28] perf bpf_counter: Move common functions to bpf_counter.h