Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp32820iog; Thu, 16 Jun 2022 20:52:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v87c5/nAQqBndtnfeLiN/PTJwo+O9jH7OgyjZjOpNAt+yVfY6BI3RBHsY1bDBrmkqUdjQ0 X-Received: by 2002:a05:6402:653:b0:435:5aaf:20e7 with SMTP id u19-20020a056402065300b004355aaf20e7mr3110129edx.125.1655437925631; Thu, 16 Jun 2022 20:52:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655437925; cv=none; d=google.com; s=arc-20160816; b=otCW9QW8dOqPPpCkm3ArKo5BlQUMBul/2BO0Of8VhgBV6iRBNUsZlee/rGgLtDHohV 5LfZwI78mfnuXQS3OrJpdv+GDS/jfrAqI5FxQXLsUnL91Ec9NO6RmN5dF+Hnlpj/w5/6 CQ+ECQ1T6XH8Ca0jCzU213iPwXrAYPvuZFGxdV2YqNcP6/a4F84EGjWUUV7gPhM/CujT BKFp045dvdRGAlMR6o3w6rXPuMwOS1hcSFGY8bvDmmxOOyhM+XtcRg4YvCQWvJ/PqXUO 3jnybpUHRZRq6PRlNfcJaPJxvRWJa1mCYSVaDZgC2ml6E6flDhh2r02AUqQ9UFAxO+Fm HkmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:authenticated-by; bh=V2i7wWmeUHK2Pw1fBOOQVUgy9N8f8VGv3RRYIZYLJa4=; b=EMD9LT93clxUeyverqGjQEUVOOEWPeU9Opv5bWqd3ROa1hgai8d464lk76cNdK0iXO 1cKUERV9EmXPDUxv7tdd9Y81LBMh2u93+rbKfvujd7uecPIbSXEL6nn6vT5VV0ercFi8 T5D/GU6HZN1rgPawzleokgJIxEWsrQjSz8nBIyu1Oj/YXhjKIex6dMZHGJ/wm2xnUUwH qEVcXExZaZK6YhS0TrUfqiTas87QgneCMQq/gTip/Lrw0j7PYDcOA+kUg1q7T7BmmNb0 IFdi04KSvH35ZvRZxYPdPKHSvw+tL5Pv0eO/VEbIE985g4nDcMnpRVJ5ZFVzhkRNtcSY UjWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cm15-20020a0564020c8f00b00425f7237b06si4007636edb.73.2022.06.16.20.51.16; Thu, 16 Jun 2022 20:52:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234061AbiFQDcz (ORCPT + 99 others); Thu, 16 Jun 2022 23:32:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230032AbiFQDcx (ORCPT ); Thu, 16 Jun 2022 23:32:53 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83A641F630; Thu, 16 Jun 2022 20:32:52 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 25H3WPV90009121, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.71/5.88) with ESMTPS id 25H3WPV90009121 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 17 Jun 2022 11:32:25 +0800 Received: from RTEXMBS03.realtek.com.tw (172.21.6.96) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 17 Jun 2022 11:32:25 +0800 Received: from localhost.localdomain (172.21.177.191) by RTEXMBS03.realtek.com.tw (172.21.6.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Fri, 17 Jun 2022 11:32:25 +0800 From: Edward Wu To: Damien Le Moal , Steven Rostedt , Ingo Molnar , Hannes Reinecke , Edward Wu , Tejun Heo , , CC: Subject: [PATCH v4] ata: libata: add qc->flags in ata_qc_complete_template tracepoint Date: Fri, 17 Jun 2022 11:32:20 +0800 Message-ID: <20220617033221.22049-1-edwardwu@realtek.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220616001615.11636-1-edwardwu@realtek.com> References: <20220616001615.11636-1-edwardwu@realtek.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.21.177.191] X-ClientProxiedBy: RTEXH36504.realtek.com.tw (172.21.6.27) To RTEXMBS03.realtek.com.tw (172.21.6.96) X-KSE-ServerInfo: RTEXMBS03.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: trusted connection X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Deterministic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 06/17/2022 03:22:00 X-KSE-AttachmentFiltering-Interceptor-Info: no applicable attachment filtering rules found X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: =?big5?B?Q2xlYW4sIGJhc2VzOiAyMDIyLzYvMTcgpFekyCAwMToxMjowMA==?= X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-Attachment-Filter-Triggered-Rules: Clean X-KSE-Attachment-Filter-Triggered-Filters: Clean X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add flags value to check the result of ata completion Fixes: 255c03d15a29 ("libata: Add tracepoints") Cc: stable@vger.kernel.org Signed-off-by: Edward Wu --- Fixed, thanks again include/trace/events/libata.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/trace/events/libata.h b/include/trace/events/libata.h index d4e631aa976f..6025dd8ba4aa 100644 --- a/include/trace/events/libata.h +++ b/include/trace/events/libata.h @@ -288,6 +288,7 @@ DECLARE_EVENT_CLASS(ata_qc_complete_template, __entry->hob_feature = qc->result_tf.hob_feature; __entry->nsect = qc->result_tf.nsect; __entry->hob_nsect = qc->result_tf.hob_nsect; + __entry->flags = qc->flags; ), TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s status=%s " \ -- 2.17.1