Re: [PATCH v7 3/3] scsi: ufs: add trace events and dump prints for debug

Steven Rostedt
2015-03-12T16:13:20Z

On Thu, 12 Mar 2015 17:55:00 +0200
Gilad Broner <gbroner@codeaurora.org> wrote:

> Add trace events to driver to allow monitoring and profilig
> of activities such as PM suspend/resume, hibernate enter/exit,
> clock gating and clock scaling up/down.
> In addition, add UFS host controller register dumps to provide
> detailed information in case of errors to assist in analysis
> of issues.
>
> Signed-off-by: Dolev Raviv <draviv@codeaurora.org>
> Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
> Signed-off-by: Lee Susman <lsusman@codeaurora.org>
> Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
> Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
> ---
> drivers/scsi/ufs/ufs-qcom.c | 53 +++++
> drivers/scsi/ufs/ufshcd.c | 511 +++++++++++++++++++++++++++++++++++++++++---
> drivers/scsi/ufs/ufshcd.h | 49 ++++-
> drivers/scsi/ufs/ufshci.h | 1 +

> include/trace/events/ufs.h | 213 ++++++++++++++++++

For the tracing part...

Acked-by: Steven Rostedt <rostedt@goodmis.org>

-- Steve

> 5 files changed, 790 insertions(+), 37 deletions(-)
> create mode 100644 include/trace/events/ufs.h