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