summaryrefslogtreecommitdiffstats
path: root/include/trace/events/fsi_master_aspeed.h
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2022-02-07 17:16:40 +0100
committerJoel Stanley <joel@jms.id.au>2022-02-21 10:08:54 +0100
commitf2af60bb7ce2fa5397f401cbf65725d9c87329a4 (patch)
treef25b79d00dc27d0c47805d1e56b76ef27bbe067d /include/trace/events/fsi_master_aspeed.h
parentfsi: sbefifo: Implement FSI_SBEFIFO_READ_TIMEOUT_SECONDS ioctl (diff)
downloadlinux-f2af60bb7ce2fa5397f401cbf65725d9c87329a4.tar.xz
linux-f2af60bb7ce2fa5397f401cbf65725d9c87329a4.zip
fsi: Add trace events in initialization path
Add definitions for trace events to show the scanning flow. Signed-off-by: Eddie James <eajames@linux.ibm.com> Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org> Link: https://lore.kernel.org/r/20220207161640.35605-1-eajames@linux.ibm.com Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to '')
-rw-r--r--include/trace/events/fsi_master_aspeed.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/trace/events/fsi_master_aspeed.h b/include/trace/events/fsi_master_aspeed.h
index a355ceacc33f..0fff873775f1 100644
--- a/include/trace/events/fsi_master_aspeed.h
+++ b/include/trace/events/fsi_master_aspeed.h
@@ -72,6 +72,18 @@ TRACE_EVENT(fsi_master_aspeed_opb_error,
)
);
+TRACE_EVENT(fsi_master_aspeed_cfam_reset,
+ TP_PROTO(bool start),
+ TP_ARGS(start),
+ TP_STRUCT__entry(
+ __field(bool, start)
+ ),
+ TP_fast_assign(
+ __entry->start = start;
+ ),
+ TP_printk("%s", __entry->start ? "start" : "end")
+);
+
#endif
#include <trace/define_trace.h>