diff options
author | Marc Zyngier <maz@kernel.org> | 2021-08-20 10:46:42 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-08-20 11:12:18 +0100 |
commit | 411d63d8c64c2f3b0c497fe4658f13b3bca951e2 (patch) | |
tree | 9581b5b324476e36bebf5ce2f90b4cbb98f287bb /arch/arm64 | |
parent | 2d701243b9f231b5d7f9a8cb81870650d3eb32bc (diff) | |
download | linux-stable-411d63d8c64c2f3b0c497fe4658f13b3bca951e2.tar.gz linux-stable-411d63d8c64c2f3b0c497fe4658f13b3bca951e2.tar.bz2 linux-stable-411d63d8c64c2f3b0c497fe4658f13b3bca951e2.zip |
KVM: arm64: Upgrade trace_kvm_arm_set_dreg32() to 64bit
A number of registers pased to trace_kvm_arm_set_dreg32() are
actually 64bit. Upgrade the tracepoint to take a 64bit value,
despite the name...
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/kvm/trace_handle_exit.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/arm64/kvm/trace_handle_exit.h b/arch/arm64/kvm/trace_handle_exit.h index 8d78acc4fba7..064a58c19f48 100644 --- a/arch/arm64/kvm/trace_handle_exit.h +++ b/arch/arm64/kvm/trace_handle_exit.h @@ -78,13 +78,17 @@ TRACE_EVENT(kvm_arm_clear_debug, TP_printk("flags: 0x%08x", __entry->guest_debug) ); +/* + * The dreg32 name is a leftover from a distant past. This will really + * output a 64bit value... + */ TRACE_EVENT(kvm_arm_set_dreg32, - TP_PROTO(const char *name, __u32 value), + TP_PROTO(const char *name, __u64 value), TP_ARGS(name, value), TP_STRUCT__entry( __field(const char *, name) - __field(__u32, value) + __field(__u64, value) ), TP_fast_assign( @@ -92,7 +96,7 @@ TRACE_EVENT(kvm_arm_set_dreg32, __entry->value = value; ), - TP_printk("%s: 0x%08x", __entry->name, __entry->value) + TP_printk("%s: 0x%llx", __entry->name, __entry->value) ); TRACE_DEFINE_SIZEOF(__u64); |