Skip to content

Commit 540a92b

Browse files
netedwardwuDamien Le Moal
authored andcommitted
ata: libata: add qc->flags in ata_qc_complete_template tracepoint
Add flags value to check the result of ata completion Fixes: 255c03d ("libata: Add tracepoints") Cc: [email protected] Signed-off-by: Edward Wu <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
1 parent 481f701 commit 540a92b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/trace/events/libata.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ DECLARE_EVENT_CLASS(ata_qc_complete_template,
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 " \

0 commit comments

Comments
 (0)