[PATCH 2/5] perf cpumap: Add intersect function