Perf event specification: either hex (0xN) or a symbolic name (e.g.
cache-misses). event_id is the opaque id written to BPF rodata (it must
match between install and read); type_/config drive perf_event_open.
Open a perf event on @cpu and register its fd in the given BPF PMU map (the
scheduler’s scx_pmu_map) at the slot for (@cpu, @counter_idx). counter_idx
0 is the migration event, 1 the sticky event, matching the PMU library
install order.