summaryrefslogtreecommitdiffstats
path: root/include/trace
diff options
context:
space:
mode:
authorEdward Wu <edwardwu@realtek.com>2022-06-17 11:32:20 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-02 16:27:30 +0200
commit90a70a585a174f494737f5314038ce192ceae2fc (patch)
tree1a74448b0b02bbad7d1217d23488e50674377f6a /include/trace
parent9e153f40a9ef9f47d72b85bd142f2d7da019dd4d (diff)
downloadlinux-stable-90a70a585a174f494737f5314038ce192ceae2fc.tar.gz
linux-stable-90a70a585a174f494737f5314038ce192ceae2fc.tar.bz2
linux-stable-90a70a585a174f494737f5314038ce192ceae2fc.zip
ata: libata: add qc->flags in ata_qc_complete_template tracepoint
commit 540a92bfe6dab7310b9df2e488ba247d784d0163 upstream. 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 <edwardwu@realtek.com> Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/trace')
-rw-r--r--include/trace/events/libata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/trace/events/libata.h b/include/trace/events/libata.h
index ab69434e2329..72e785a903b6 100644
--- a/include/trace/events/libata.h
+++ b/include/trace/events/libata.h
@@ -249,6 +249,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 " \