scsi: ufs: add time profiling support
authorsubhashj@codeaurora.org <subhashj@codeaurora.org>
Fri, 23 Dec 2016 02:41:48 +0000 (18:41 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 5 Jan 2017 23:10:04 +0000 (18:10 -0500)
commit911a0771b6fa7bac5eae753c17c87ecb77c77283
treebebe4b62a4d2177a1bfb1844924e08d02d968d31
parentd2aebb9b269b3e094b2d2d03121c3863b683a25b
scsi: ufs: add time profiling support

This patch adds the profiling support for some of the time critical
operations like hibern8 enter/exit, clock gating & clock scaling.

Reviewed-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c
include/trace/events/ufs.h