summaryrefslogtreecommitdiff
path: root/include/trace/events/fsi_master_aspeed.h
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2022-02-07 10:16:40 -0600
committerJoel Stanley <joel@jms.id.au>2022-02-21 19:38:54 +1030
commitf2af60bb7ce2fa5397f401cbf65725d9c87329a4 (patch)
treef25b79d00dc27d0c47805d1e56b76ef27bbe067d /include/trace/events/fsi_master_aspeed.h
parenta1dc6308865df719efb2a2f8a5f0f5979602d267 (diff)
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 'include/trace/events/fsi_master_aspeed.h')
-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>