projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
481f701
)
ata: libata: add qc->flags in ata_qc_complete_template tracepoint
author
Edward Wu
<edwardwu@realtek.com>
Fri, 17 Jun 2022 03:32:20 +0000
(11:32 +0800)
committer
Damien Le Moal
<damien.lemoal@opensource.wdc.com>
Fri, 17 Jun 2022 07:30:03 +0000
(16:30 +0900)
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>
include/trace/events/libata.h
patch
|
blob
|
history
diff --git
a/include/trace/events/libata.h
b/include/trace/events/libata.h
index d4e631aa976fb2825fdeee2dfd39a80ed597a08b..6025dd8ba4aa12e01ed042c4e2576ce60601bc84 100644
(file)
--- a/
include/trace/events/libata.h
+++ b/
include/trace/events/libata.h
@@
-288,6
+288,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 " \