ata: libata: add qc->flags in ata_qc_complete_template tracepoint
Subsystems (3)
PATCH 1/1 ata: libata: add qc->flags in ata_qc_complete_template tracepoint
Add flags value to check the result of ata completion
--- include/trace/events/libata.h | 1 + 1 file changed, 1 insertion(+)
include/trace/events/libata.h +1 -0
@@ -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 " \
Signature · 1 line
2.17.1
Quoted 12 lines · Edward Wu
Add flags value to check the result of ata completion
Signed-off-by Edward Wu <[email protected]>--- include/trace/events/libata.h | 1 + 1 file changed, 1 insertion(+)include/trace/events/libata.h +0
-0
include/trace/events/libata.h DECLARE_EVENT_CLASS(ata_qc_complete_template, · line 294
Quoted 7 lines
include/trace/events/libata.h +1
-0@@ -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 " \
Doesn't this need a Fixes tag ?
Signature · 2 lines
Damien Le Moal Western Digital Research
PATCH v2 1/1 ata: libata: add qc->flags in ata_qc_complete_template tracepoint
In reply to Edward WuAdd flags value to check the result of ata completion
---
v2:
- Add Fixes tag
include/trace/events/libata.h | 1 + 1 file changed, 1 insertion(+)
include/trace/events/libata.h +1 -0
@@ -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 " \
Signature · 1 line
2.17.1
Quoted 4 lines · Edward Wu
Add flags value to check the result of ata completion
Fixes 255c03d15a29 ("libata: Add tracepoints")
What is this Link tag for ? I do not think it is needed. And please add:
Quoted 20 lines
Signed-off-by Edward Wu <[email protected]>---
v2:
- Add Fixes taginclude/trace/events/libata.h | 1 + 1 file changed, 1 insertion(+)include/trace/events/libata.h +1
-0@@ -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 " \
Signature · 2 lines
Damien Le Moal Western Digital Research
PATCH v3 1/1 ata: libata: add qc->flags in ata_qc_complete_template tracepoint
In reply to Edward WuAdd flags value to check the result of ata completion
---
Thanks for your kindly guiding.
include/trace/events/libata.h | 1 + 1 file changed, 1 insertion(+)
include/trace/events/libata.h +1 -0
@@ -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 " \
Signature · 1 line
2.17.1
Quoted 5 lines · Edward Wu
Add flags value to check the result of ata completion
Fixes 255c03d15a29 ("libata: Add tracepoints")Acked-by Damien Le Moal <[email protected]>
Looks good. But please do not randomly add tags like the above ack. I never sent that ! And since I will be applying this patch, I will add my signed-of-by tag, not a acked-by tag.
Quoted 19 lines
Signed-off-by Edward Wu <[email protected]>---
Thanks for your kindly guiding.include/trace/events/libata.h | 1 + 1 file changed, 1 insertion(+)include/trace/events/libata.h +1
-0@@ -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 " \
Signature · 2 lines
Damien Le Moal Western Digital Research
PATCH v4 1/1 ata: libata: add qc->flags in ata_qc_complete_template tracepoint
In reply to Edward WuAdd flags value to check the result of ata completion
---
Fixed, thanks again
include/trace/events/libata.h | 1 + 1 file changed, 1 insertion(+)
include/trace/events/libata.h +1 -0
@@ -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 " \
Signature · 1 line
2.17.1
Damien Le Moal
AppliedQuoted 16 lines · Edward Wu
Add flags value to check the result of ata completion
Fixes 255c03d15a29 ("libata: Add tracepoints")Signed-off-by Edward Wu <[email protected]>---
Fixed, thanks againinclude/trace/events/libata.h | 1 + 1 file changed, 1 insertion(+)include/trace/events/libata.h +0
-0
include/trace/events/libata.h DECLARE_EVENT_CLASS(ata_qc_complete_template, · line 294
Quoted 7 lines
include/trace/events/libata.h +1
-0@@ -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 " \
Applied to for-5.19-fixes. Thanks !
Signature · 2 lines
Damien Le Moal Western Digital Research