diff options
author | Edward Wu <edwardwu@realtek.com> | 2022-06-17 05:32:20 +0200 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-06-17 09:30:03 +0200 |
commit | 540a92bfe6dab7310b9df2e488ba247d784d0163 (patch) | |
tree | ee7e3190e7fe79106cdf89743429041785140edf /include | |
parent | MAINTAINERS: add ATA sysfs file documentation to libata entry (diff) | |
download | linux-540a92bfe6dab7310b9df2e488ba247d784d0163.tar.xz linux-540a92bfe6dab7310b9df2e488ba247d784d0163.zip |
ata: libata: add qc->flags in ata_qc_complete_template tracepoint
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/trace/events/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 " \ |