Re: [PATCH v3 1/5] kvm: x86/pmu: Introduce masked events to the pmu event filter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 04, 2022, Sean Christopherson wrote:
> On Sat, Jul 09, 2022, Aaron Lewis wrote:
> 	if (entry) {
> 		pivot = <compute index of found entry>
> 
> 		/*
> 		 * comment about how the key works and wanting to find any
> 		 * matching filter entry.
> 		 */
> 		for (i = pivot; i > 0; i--) {
> 			entry = &filter->events[i];
> 			if (get_event(*entry) != get_event(eventsel)

Just saw Jim's comment about using "key".  That would indeed make it easier to
understand what this is doing.

Note, the missing parantheses throughout aren't intentional :-)



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux