Re: [PATCH v2] scsi: ufs: add trace event for ufs upiu

2018-03-22 Thread Bart Van Assche
On Thu, 2018-03-22 at 13:50 +0200, Ohad Sharabi wrote: > +static void ufshcd_add_cmd_upiu_trace(struct ufs_hba *hba, unsigned int tag, > + const char *str) > +{ > + struct utp_upiu_req *rq = hba->lrb[tag].ucd_req_ptr; > + > + trace_ufshcd_upiu(dev_name(hba->dev), str, (u8

[PATCH v2] scsi: ufs: add trace event for ufs upiu

2018-03-22 Thread Ohad Sharabi
Add UFS Protocol Information Units(upiu) trace events for ufs driver, used to trace various ufs transaction types- command, task-management and device management. The trace-point format is generic and can be easily adapted to trace other upius if needed. Currently tracing ufs transaction of type