Commit e630ddc2 authored by Vincent Donnefort's avatar Vincent Donnefort
Browse files

ANDROID: KVM: arm64: HVCs to filter Ftrace for pKVM hyp



Introducing two new HVCs to configure which functions to trace.

  __pkvm_disable_ftrace() is disabling all functions.

  __pkvm_sync_ftrace() takes a host page containing the list of
  functions to be traced.

The host populated page must have the same order as the original ELF
.hyp.patchable_function_entries. The first bit of each address tells if
a function must be enabled or not.

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