public inbox for linux-ide@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ata: libata: add qc->flags in ata_qc_complete_template tracepoint
@ 2022-06-16  0:16 Edward Wu
  2022-06-16  0:34 ` Damien Le Moal
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Edward Wu @ 2022-06-16  0:16 UTC (permalink / raw)
  To: Damien Le Moal, Steven Rostedt, Ingo Molnar, Hannes Reinecke,
	Edward Wu, linux-ide, linux-kernel

Add flags value to check the result of ata completion

Signed-off-by: Edward Wu <edwardwu@realtek.com>
---
 include/trace/events/libata.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/trace/events/libata.h b/include/trace/events/libata.h
index d4e631aa976f..6025dd8ba4aa 100644
--- 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 " \
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-06-17  7:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-16  0:16 [PATCH] ata: libata: add qc->flags in ata_qc_complete_template tracepoint Edward Wu
2022-06-16  0:34 ` Damien Le Moal
2022-06-16  0:48 ` [PATCH v2] " Edward Wu
2022-06-16  2:55   ` Damien Le Moal
2022-06-17  3:00 ` [PATCH v3] " Edward Wu
2022-06-17  3:26   ` Damien Le Moal
2022-06-17  3:32 ` [PATCH v4] " Edward Wu
2022-06-17  7:32   ` Damien Le Moal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox