Re: [PATCH v3 3/5] firmware: arm_scmi: Track basic SCMI statistics

Luke Parkin
2024-07-22T12:21:47Z

> Just wonder that since ftrace is there, why need this?

Hi, this series aims to provide a useful debug aid for running tests on the SCMI
subsystem. As you mentioned, ftrace does report some of these statistics,
however DEBUG_STATISTICS will allow a programatic interface to access the count
of failures, successes and an extended variety of other specific
errors/statistics for automated (or manual) testing.

Hope this clears things up,
Luke