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:
Vincent Donnefort <vdonnefort@google.com>
Loading
Please sign in to comment