perf evsel: Add functions to enable/disable for a specific CPU

Refactor the existing functions to use these functions internally.

Used in the next patch

Signed-off-by: Andi Kleen <ak@linux.intel.com>

---
v2: Use NULL instead of 0
4 files changed