Skip to content

Commit f509de1

Browse files
morimotooupton
authored andcommitted
arm64: kvm: trace_handle_exit: use string choices helper
We can use string choices helper, let's use it. Signed-off-by: Kuninori Morimoto <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Oliver Upton <[email protected]>
1 parent 30a597e commit f509de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/kvm/trace_handle_exit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ TRACE_EVENT(kvm_sys_access,
113113
__entry->vcpu_pc, __entry->name ?: "UNKN",
114114
__entry->Op0, __entry->Op1, __entry->CRn,
115115
__entry->CRm, __entry->Op2,
116-
__entry->is_write ? "write" : "read")
116+
str_write_read(__entry->is_write))
117117
);
118118

119119
TRACE_EVENT(kvm_set_guest_debug,

0 commit comments

Comments
 (0)