提交 540a92bf 编写于 作者: E Edward Wu 提交者: Damien Le Moal

ata: libata: add qc->flags in ata_qc_complete_template tracepoint

Add flags value to check the result of ata completion

Fixes: 255c03d1 ("libata: Add tracepoints")
Cc: stable@vger.kernel.org
Signed-off-by: NEdward Wu <edwardwu@realtek.com>
Signed-off-by: NDamien Le Moal <damien.lemoal@opensource.wdc.com>
上级 481f7017
...@@ -288,6 +288,7 @@ DECLARE_EVENT_CLASS(ata_qc_complete_template, ...@@ -288,6 +288,7 @@ DECLARE_EVENT_CLASS(ata_qc_complete_template,
__entry->hob_feature = qc->result_tf.hob_feature; __entry->hob_feature = qc->result_tf.hob_feature;
__entry->nsect = qc->result_tf.nsect; __entry->nsect = qc->result_tf.nsect;
__entry->hob_nsect = qc->result_tf.hob_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 " \ TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s status=%s " \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册