Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp262945imm; Thu, 31 May 2018 23:51:24 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIZhoX2ZbjpFwDceBx4MFG7HJRBxDF9xFPMEg/LEIeod86nH67IB9ZCoPurI/Jyg+ow1VTt X-Received: by 2002:a65:4c4d:: with SMTP id l13-v6mr8059933pgr.211.1527835884824; Thu, 31 May 2018 23:51:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527835884; cv=none; d=google.com; s=arc-20160816; b=Z20uE1DuMZDkaE3oSVLto2EHZH3dodApJ1mRsnTsQU5d/s+408Zm0eZKfvILwioXHi 2k09pld4sMT8CNFdw29QLB2s90PwPqXY7rCjBdCaKqIRixAjDZcho2+kpyGuU55hpnh1 n/kEi3LmFlUlYF2H66ocz6rCV8WXu0aJbOHD3+SWJGaB/VRKEbxUMkO9G35LX9h99kIa XpPTsDXev6fLkonmmhF6x/OyLh815nTWSuKEEc4YMnHZK8+DE4L1fTPuBQIofUE53NGS 8RmV7GUNErbyELa3VS70qa1kFkfpHagYUCiqDqVgXOF5hyPO/NF9coB+Z2Bp7hmYquJt 2MoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=V4O6atkPigElwqgJpD4zboaYddU7MdgJqCJzuizGpTM=; b=fBRSB+pqLxY0BPmN3bqbCDxR2O6cAwlaXtqR8vi01CZc5TmQ0x1HFCsoBCM9vAzxPe QcKRKmhCLB1MFNw0WRiLrvJv2G6kk2NxjM5pQ3Vik/lTGTUY+mF+BOfyW5XHbIlKprAS VhuGT8PATR3lVaKiatvymXcxRleWvi8mLVN176Mu5khIGv3HB40Y4GLnJLllyUvWvjB9 Gv8pEjsufaIkbd7NX5Ea0gngyAmnXaQ/eXffVs70RaieJOZxrS+S5FdlJjkkqVurruLt MX8Qt/grrlbRHOP37vJqvRJhyTc+1oXtwz2RmHs5S7y1jNjzZPUvng3S/1+dzuev2Gw5 UJyA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b8-v6si41098239pls.261.2018.05.31.23.51.10; Thu, 31 May 2018 23:51:24 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751131AbeFAGuo (ORCPT + 99 others); Fri, 1 Jun 2018 02:50:44 -0400 Received: from mail.cn.fujitsu.com ([183.91.158.132]:28531 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750903AbeFAGum (ORCPT ); Fri, 1 Jun 2018 02:50:42 -0400 X-IronPort-AV: E=Sophos;i="5.43,368,1503331200"; d="scan'208";a="40641734" Received: from bogon (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 01 Jun 2018 14:50:39 +0800 Received: from G08CNEXCHPEKD03.g08.fujitsu.local (unknown [10.167.33.85]) by cn.fujitsu.com (Postfix) with ESMTP id BA92248AE92A; Fri, 1 Jun 2018 14:50:38 +0800 (CST) Received: from localhost.localdomain (10.167.226.106) by G08CNEXCHPEKD03.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.399.0; Fri, 1 Jun 2018 14:50:40 +0800 From: Dou Liyang To: , CC: , , , Dou Liyang Subject: [PATCH] x86/vector: Fix the args of vector_alloc tracepoint Date: Fri, 1 Jun 2018 14:50:31 +0800 Message-ID: <20180601065031.21872-1-douly.fnst@cn.fujitsu.com> X-Mailer: git-send-email 2.14.3 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.167.226.106] X-yoursite-MailScanner-ID: BA92248AE92A.A2E36 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: douly.fnst@cn.fujitsu.com X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The vector_alloc tracepont reversed the reserved and ret aggs, that made the trace print wrong. Exchange them. Signed-off-by: Dou Liyang --- arch/x86/include/asm/trace/irq_vectors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/trace/irq_vectors.h b/arch/x86/include/asm/trace/irq_vectors.h index 22647a642e98..0af81b590a0c 100644 --- a/arch/x86/include/asm/trace/irq_vectors.h +++ b/arch/x86/include/asm/trace/irq_vectors.h @@ -236,7 +236,7 @@ TRACE_EVENT(vector_alloc, TP_PROTO(unsigned int irq, unsigned int vector, bool reserved, int ret), - TP_ARGS(irq, vector, ret, reserved), + TP_ARGS(irq, vector, reserved, ret), TP_STRUCT__entry( __field( unsigned int, irq ) -- 2.14.3