Lines Matching refs:event
107 * the value perf event counts.
155 /* Recreate the perf event to reflect the updated sample_period */
174 * kvm_pmu_release_perf_event - remove the perf event
190 * If this counter has been configured to monitor some event, release it here.
238 * kvm_pmu_vcpu_destroy - free perf event of PMU for cpu
267 * Call perf_event_enable to start counting the perf event
291 kvm_debug("fail to enable perf event\n");
301 * Call perf_event_disable to stop counting the perf event
408 * to the event.
422 * event if possible.
425 unsigned long mask, u32 event)
439 /* Filter on event type */
442 if (type != event)
478 * When the perf event overflows, set the overflow status and inform the vcpu.
577 * kvm_pmu_create_perf_event - create a perf event for a counter
584 struct perf_event *event;
599 * by a perf event.
606 * If we have a filter in place and that the event isn't allowed, do
607 * not install a perf event either.
634 event = perf_event_create_kernel_counter(&attr, -1, current,
637 if (IS_ERR(event)) {
638 pr_err_once("kvm: pmu event creation failed %ld\n",
639 PTR_ERR(event));
643 pmc->perf_event = event;
647 * kvm_pmu_set_counter_event_type - set selected counter to monitor some event
653 * event with given hardware event number. Here we call perf_event API to
654 * emulate this action and create a kernel perf event for it.
968 * Allow userspace to specify an event filter for the entire
969 * event range supported by PMUVer of the hardware, rather