Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp979810iog; Wed, 15 Jun 2022 17:20:16 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vp5SlhXv4/5CdCO5GilAOCysgtf7AgccvCCumoFqX0V9YObOQiVLUwrAuc+t/pb2zVbnD6 X-Received: by 2002:a05:6402:270a:b0:431:43f6:1e02 with SMTP id y10-20020a056402270a00b0043143f61e02mr3027475edd.317.1655338816187; Wed, 15 Jun 2022 17:20:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655338816; cv=none; d=google.com; s=arc-20160816; b=FOJbb5SNTsGI9p8LMZlJLjUGc+XL12CszGUM9hgfQQ7ePY7rFbbvSdswYiE+T0RZyc 1QF/OgpW3qT/bitTBmeaKL5Nc6ZFh1gcPEfeYujmFSTxbBXU+Yz/SXRfh+m3ggYy3MsG W0Ju7oZ0GPMi48TGHXnznj6Qcf5d8sgxpFduxE0HdvJbdYCOG0RTFM+MixOHIua/JnOf NfNx/nRIE6dzhJEHt4EcmSOJ5pZHbeJ+sGR92bdBRi40PGv9cBZr2oIsuTD81+eauNwK lfhipdKmKDSt9IBAMlIdwTlq+iwLzhvQH/tA8FgChqV4DxXikJHfLsToxdzD8W0rWliA 3tvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:to:from :authenticated-by; bh=nQDK7MKVmSCoy4O9DqisL0wdiSWYdKM/vPtFJ06zxIA=; b=dG55ZhiivEqnkdSUj1RZtQWxrWx7JyYyLPjjfWGcuLOim5xG4YKe9wwpT0ECHf3JVu J1nci+Gy0bL8X2BfdH72Gv+vf19SZAz+8JREgLFPodr+7S79uFv/3OWEaZtdtbtv4kBg 6eHCimYYAme0i7DHfV5Yxq7/V92kNHCwk/0/k4KNW5ukeK61xjJKZzeRyfheJI7BTulB 8o1yLcu9+7pFpyH6dRKRmStS8HPiBeI/nUADBCfzRlVIik+peoUBvcnjrlp+lx0T3Tji Heo0TvW3Hj9ooaPfnZ1y4lVwqBLOVyOj3fyzzo0k6LDeQscb4lOYeA27NYKjzA10MnRG WnjA== 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 e2-20020a170906748200b006fee2a70676si228040ejl.130.2022.06.15.17.19.51; Wed, 15 Jun 2022 17:20:16 -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 S245351AbiFPARF (ORCPT + 99 others); Wed, 15 Jun 2022 20:17:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231666AbiFPARE (ORCPT ); Wed, 15 Jun 2022 20:17:04 -0400 Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AAAC39BAF; Wed, 15 Jun 2022 17:17:02 -0700 (PDT) Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.73 with qID 25G0GZ5s8023703, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36504.realtek.com.tw[172.21.6.27]) by rtits2.realtek.com.tw (8.15.2/2.71/5.88) with ESMTPS id 25G0GZ5s8023703 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 16 Jun 2022 08:16:35 +0800 Received: from RTEXMBS03.realtek.com.tw (172.21.6.96) by RTEXH36504.realtek.com.tw (172.21.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Thu, 16 Jun 2022 08:16:35 +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; Thu, 16 Jun 2022 08:16:34 +0800 From: Edward Wu To: Damien Le Moal , Steven Rostedt , Ingo Molnar , Hannes Reinecke , Edward Wu , , Subject: [PATCH] ata: libata: add qc->flags in ata_qc_complete_template tracepoint Date: Thu, 16 Jun 2022 08:16:14 +0800 Message-ID: <20220616001615.11636-1-edwardwu@realtek.com> X-Mailer: git-send-email 2.17.1 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/16/2022 00:01: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?Q2xlYW4sIGJhc2VzOiAyMDIyLzYvMTUgpFWkyCAxMDoxODowMA==?= X-KSE-BulkMessagesFiltering-Scan-Result: protection disabled X-KSE-ServerInfo: RTEXH36504.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 Signed-off-by: Edward Wu --- 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