From: Wanpeng Li Date: Fri, 14 Jun 2019 01:15:48 +0000 (+0800) Subject: KVM: LAPIC: remove the trailing newline used in the fmt parameter of TP_printk X-Git-Tag: v5.4-rc1~591^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7be373b6de503cd1eed6be4f2780925a5af03230;p=platform%2Fkernel%2Flinux-rpi.git KVM: LAPIC: remove the trailing newline used in the fmt parameter of TP_printk The trailing newlines will lead to extra newlines in the trace file which looks like the following output, so remove it. qemu-system-x86-15695 [002] ...1 15774.839240: kvm_hv_timer_state: vcpu_id 0 hv_timer 1 qemu-system-x86-15695 [002] ...1 15774.839309: kvm_hv_timer_state: vcpu_id 0 hv_timer 1 Cc: Paolo Bonzini Cc: Radim Krčmář Signed-off-by: Wanpeng Li Signed-off-by: Paolo Bonzini --- diff --git a/arch/x86/kvm/trace.h b/arch/x86/kvm/trace.h index 4d47a26..b5c831e 100644 --- a/arch/x86/kvm/trace.h +++ b/arch/x86/kvm/trace.h @@ -1365,7 +1365,7 @@ TRACE_EVENT(kvm_hv_timer_state, __entry->vcpu_id = vcpu_id; __entry->hv_timer_in_use = hv_timer_in_use; ), - TP_printk("vcpu_id %x hv_timer %x\n", + TP_printk("vcpu_id %x hv_timer %x", __entry->vcpu_id, __entry->hv_timer_in_use) );