Some PMUs events can be read from any CPU. So allow the PMU to mark
events as such. For these events, we don't need to reject reads or
make smp calls to the event's CPU and cause unnecessary wake ups.
Good examples of such events would be events from caches shared across
all CPUs.
Signed-off-by: Saravana Kannan <skannan@xxxxxxxxxxxxxx>
---
include/linux/perf_event.h | 3 +++
kernel/events/core.c | 10 ++++++++--
2 files changed, 11 insertions(+), 2 deletions(-)