Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Edward Wu and committed by
Damien Le Moal
540a92bf 481f7017

+1
+1
include/trace/events/libata.h
··· 288 288 __entry->hob_feature = qc->result_tf.hob_feature; 289 289 __entry->nsect = qc->result_tf.nsect; 290 290 __entry->hob_nsect = qc->result_tf.hob_nsect; 291 + __entry->flags = qc->flags; 291 292 ), 292 293 293 294 TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s status=%s " \