[PATCH v1 2/8] perf/x86/intel: add pmi callback support

2018-11-01 Thread Wei Wang
This patch adds the pmi callback support for the counters reserved by components outside the perf core. For example, a hypervisor may register such a callback to get the guest notified about the receiving of the pmi. The host PMI handling requires the active_events to be non-zero, so we need

[PATCH v1 2/8] perf/x86/intel: add pmi callback support

2018-11-01 Thread Wei Wang
This patch adds the pmi callback support for the counters reserved by components outside the perf core. For example, a hypervisor may register such a callback to get the guest notified about the receiving of the pmi. The host PMI handling requires the active_events to be non-zero, so we need