mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
ata: libata: add qc->flags in ata_qc_complete_template tracepoint
commit540a92bfe6
upstream. Add flags value to check the result of ata completion Fixes:255c03d15a
("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
156427b312
commit
273106c2df
1 changed files with 1 additions and 0 deletions
|
@ -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 " \
|
||||
|
|
Loading…
Reference in a new issue