Re: [PATCH 22/73] libata: add qc_prep tracepoint

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08.12.2021 19:32, Hannes Reinecke wrote:

Add tracepoint for ata_qc_prep().

   You're also adding a tracepoint for ata_qc_issue...

Signed-off-by: Hannes Reinecke <hare@xxxxxxx>
---
  drivers/ata/libata-core.c     |  1 +
  include/trace/events/libata.h | 10 +++++++++-
  2 files changed, 10 insertions(+), 1 deletion(-)

[...]
diff --git a/include/trace/events/libata.h b/include/trace/events/libata.h
index 7d48e804b889..360f99980b44 100644
--- a/include/trace/events/libata.h
+++ b/include/trace/events/libata.h
[...]
@@ -235,6 +235,14 @@ TRACE_EVENT(ata_qc_issue,
  		  __entry->dev)
  );
+DEFINE_EVENT(ata_qc_issue_template, ata_qc_prep,
+	     TP_PROTO(struct ata_queued_cmd *qc),
+	     TP_ARGS(qc));
+
+DEFINE_EVENT(ata_qc_issue_template, ata_qc_issue,
+	     TP_PROTO(struct ata_queued_cmd *qc),
+	     TP_ARGS(qc));
+
  DECLARE_EVENT_CLASS(ata_qc_complete_template,
TP_PROTO(struct ata_queued_cmd *qc),

MBR, Sergey



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux