Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e75acbe authored by Edward Wu's avatar Edward Wu Committed by Greg Kroah-Hartman
Browse files

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: 255c03d1 ("libata: Add tracepoints")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarEdward Wu <edwardwu@realtek.com>
Signed-off-by: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 71c76f56
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 " \