Re: [PATCH] KVM: PPC: Book3S HV: Tracepoints for KVM HV guest interactions

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

 



"Suresh E. Warrier" <warrier@xxxxxxxxxxxxxxxxxx> writes:

> This patch adds trace points in the guest entry and exit code and also
> for exceptions handled by the host in kernel mode - hypercalls and page
> faults. The new events are added to /sys/kernel/debug/tracing/events
> under a new subsystem called kvm_hv.

........

>  	/* Set this explicitly in case thread 0 doesn't have a vcpu */
> @@ -1687,6 +1691,9 @@ static void kvmppc_run_core(struct kvmppc_vcore *vc)
>  
>  	vc->vcore_state = VCORE_RUNNING;
>  	preempt_disable();
> +
> +	trace_kvmppc_run_core(vc, 0);
> +
>  	spin_unlock(&vc->lock);

Do we really want to call tracepoint with spin lock held ? Is that a good
thing to do ?. 

-aneesh

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux