kvm-guest-drivers-windows
kvm-guest-drivers-windows copied to clipboard
viogpu: Allow combining DBG and WPP
Allow combining DBG and WPP by defining DBG and EVENT_TRACING at the same time.
Can one of the admins verify this patch?
test this please
@akihikodaki I have a question (just a question): What is the motivation to define both DBG and WPP?
@akihikodaki @ybendito Yeah, I also have the same question :) IIRC, the original intention was to enable WPP in release builds and keep DBG for the developers, if they need it. Did we change this approach recently?
All the best, Vadim.
@ybendito @vrozenfe My use case is to debug a detached Arm64 system.
Setting DBG gives logs via COM or vDbgPrintEx and enables debug assertions using VIOGPU_ASSERT_CHK. The logging does not work for a detached Arm64 system because:
- IO ports used for COM are not available on Arm64.
vDbgPrintExworks only when attached.
Combining DBG and WPP allows having logging and debug assertions at the same time on a detached Arm64 system.
[Jenkins CI]: Can one of the admins verify this patch?