From: Kuninori Morimoto Date: Fri, 18 Jul 2025 01:50:38 +0000 (+0000) Subject: arm64: kvm: trace_handle_exit: use string choices helper X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f509de1b0f8959ae4d90c6eeb13dee145fbb0127;p=thirdparty%2Flinux.git arm64: kvm: trace_handle_exit: use string choices helper We can use string choices helper, let's use it. Signed-off-by: Kuninori Morimoto Link: https://lore.kernel.org/r/87o6ti5ksx.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Oliver Upton --- diff --git a/arch/arm64/kvm/trace_handle_exit.h b/arch/arm64/kvm/trace_handle_exit.h index f85415db7713b..a7ab9a3bbed0b 100644 --- a/arch/arm64/kvm/trace_handle_exit.h +++ b/arch/arm64/kvm/trace_handle_exit.h @@ -113,7 +113,7 @@ TRACE_EVENT(kvm_sys_access, __entry->vcpu_pc, __entry->name ?: "UNKN", __entry->Op0, __entry->Op1, __entry->CRn, __entry->CRm, __entry->Op2, - __entry->is_write ? "write" : "read") + str_write_read(__entry->is_write)) ); TRACE_EVENT(kvm_set_guest_debug,