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

2015-02-04 Thread Gilad Broner
> Please use trace__enabled(), for instance, > trace_ufshcd_command_enabled(). > > This also uses jump_labels and is a nop when it is not enabled. I accept your comment and will fix it. I'll wait a bit longer with sending v2 in case there are more comments. Thanks, Gilad. -- QUALCOMM ISRAEL, on

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

2015-02-03 Thread Steven Rostedt
On Tue, 3 Feb 2015 17:37:19 +0200 Gilad Broner 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 > detail