History

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

Add flags value to check the result of ata completion

Edward Wu committed 4 years ago

Commit 540a92b1 parent 481f7011 file · +1 −0Browse files

Unified · Split

include/trace/events/libata.h+1−0
@@ -288,6 +288,7 @@ DECLARE_EVENT_CLASS(ata_qc_complete_template, · 287 unmodified lines
288288 __entry->hob_feature = qc->result_tf.hob_feature;
289289 __entry->nsect = qc->result_tf.nsect;
290290 __entry->hob_nsect = qc->result_tf.hob_nsect;
291+ __entry->flags = qc->flags;
291292 ),
292293
293294 TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s status=%s " \