Commit 794f8744 authored by Vincent Donnefort's avatar Vincent Donnefort Committed by Fuad Tabba
Browse files

ANDROID: KVM: arm64: Add tracing support for the nVHE hyp



Running at EL2, the host has very close to no way to know what's
happening in the hypervisor, which is great from a security point of
view, a bit less for debugging. With the introduction of the protected
mode, this piece of code is getting more responsibilities, which we
would like to debug and profile, hence the need to trace "things" that
are happening in the hypervisor.

There's no way the hypervisor could log things directly into the host
tracing interface. So instead let's use a separated per-CPU ring-buffer
compliant with the host so the latter can decode the events.

Signed-off-by: default avatarVincent Donnefort <vdonnefort@google.com>
Bug: 278749606
Change-Id: I0e32223795de435aee8546af368672f0e67637b3
parent 114bebe0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment