Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp962321ybi; Wed, 3 Jul 2019 07:15:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwptbtQEevoHtLQfTed1fWBgKjw0D8f3lAVY3AQNmlxDzEPSCyyqAC24w5n2jBto3xkLOjE X-Received: by 2002:a63:1e0b:: with SMTP id e11mr14628160pge.402.1562163344317; Wed, 03 Jul 2019 07:15:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562163344; cv=none; d=google.com; s=arc-20160816; b=qp6OBqLtn1bQxCS23f2eBLB8XVHzXtNdlo5aKjieauP3l/6OsN3irxYq/hSiWqy10s DCiNk20XRVKXtKDEBFGA2JOnS8dyDQBPE39XdBktGUIn/u1RxU7mwwnejN/Li9TpRZy7 22iUZzeQlh836DsaJB/zhCuZb7DR3U/rI4HfEDjeSHZBEoki5MZ9Iy1cnSTjIvZ2k9xO 0E1U6BhNn943NToF2TqmIaUCMOdBvKXfts6qjbaD40PQy57K8G9cniMs7qxkp6ehQoAg AusgUBcG9AeUxSXDCMvZNII40iRm1tcL05T3lcY4z/60vRtGDJfKWg5ISHSX1jDYWgIM HbFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=WEU9J4f4LicY5+G8hi8mfSV2AgtX7u94Zg0dhqNyNTY=; b=Joerq9acLuuGw4yEk/NyAoPq/I2PLL2Gl9ysJx4OEOkV3AoVqqZwZWtpvYPunE5y1p Lhwl5yOMyYsc+hOUmhmRkKlWkHaQBWA8sIP0vSaN3lUaixVowWoSdwdK83SpWkuh06Hy im2EbQ2y62Wtjq4MYQunEl7PdfMFIiTvDtH1/18NHx37175WfQcyl8/NJSbWCBOy9AwV AJNmaQaeS/3wFgE0EtU6C/HdYYdK5GiKUfwh/+LE+5uSe5A8jIwi9H7UDnsriW2vRq4w L4DtR3qhhIqz0lMvhl6Qhm7uPJco+Y3vaHMowpVy6ha7iz3bRMyMB9rzpdzl29QYnPep NwZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x13si2343654pgr.376.2019.07.03.07.15.27; Wed, 03 Jul 2019 07:15:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726924AbfGCOO0 (ORCPT + 99 others); Wed, 3 Jul 2019 10:14:26 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:39239 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726598AbfGCOO0 (ORCPT ); Wed, 3 Jul 2019 10:14:26 -0400 Received: by mail-wm1-f65.google.com with SMTP id z23so2580219wma.4 for ; Wed, 03 Jul 2019 07:14:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=WEU9J4f4LicY5+G8hi8mfSV2AgtX7u94Zg0dhqNyNTY=; b=NtxZZ137IiBpNdHB6ZWz/ZYhD98kGDXsrJwGEdHb2iYtjX9CG1I9iwtOIbOozfWifH NAru6OC/3kPwsEtS5IKAYITxjoHIFQR+h2ZaAmnn0C1R1F+WNLHyBZdwe6JV9rsX0cjF Q28OspJjqJGA6s1JSA5MwMJ8K6+/eGFHxbIcRR/5xzQfYpOMlQBRL20WjrU9qhcZYm+Q Tpu72CFe0cVXWhILLEHEm9LTfDe9lcTK5hplSXOan/Q7uQJrHIxbF4F8YNMTlOlrqg4x 5sAzUM4hf2iuJY0SHTOttKrnjCjVOP8i+KoWaG/Nj3QSZLjn2uajewl69oLyT5gMVGBL culQ== X-Gm-Message-State: APjAAAWl0woSPllA25Pl974gvIJBpdfRqzKIXTHliDUufA5/MGwvt9u5 E3dXkNL8fpGdN7uj2lIBh8WIsw== X-Received: by 2002:a1c:770d:: with SMTP id t13mr8092226wmi.79.1562163263930; Wed, 03 Jul 2019 07:14:23 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:6c1d:63cc:b81d:e1a9? ([2001:b07:6468:f312:6c1d:63cc:b81d:e1a9]) by smtp.gmail.com with ESMTPSA id q7sm1819496wrx.6.2019.07.03.07.14.23 (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jul 2019 07:14:23 -0700 (PDT) Subject: Re: [PATCH v4 2/2] KVM: LAPIC: remove the trailing newline used in the fmt parameter of TP_printk To: Wanpeng Li , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= References: <1560474949-20497-1-git-send-email-wanpengli@tencent.com> From: Paolo Bonzini Message-ID: Date: Wed, 3 Jul 2019 16:14:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: <1560474949-20497-1-git-send-email-wanpengli@tencent.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/06/19 03:15, Wanpeng Li wrote: > From: Wanpeng Li > > 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 > --- > arch/x86/kvm/trace.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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) > ); > Queued 2/2, thanks. Paolo