Re: [PATCH v3] scsi: ufs: add trace event for ufs upiu
From: Bart Van Assche
Date: Mon Mar 26 2018 - 18:49:13 EST
On Sun, 2018-03-25 at 10:08 +0300, Ohad Sharabi wrote:
> 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 'device management', which
> this patch introduce, cannot be obtained from any other trace.
> Device management transactions are used for communication with the
> device such as reading and writing descriptor or attributes etc.
>
> v2->v3:
> - modify args 3,4 of trace_ufshcd_upiu to be void *
>
> v1->v2:
> - split to transaction specific functions (fix warnings and simplifies
> code)
> - adding traces when sending query command
The changelog for a patch should appear under the three hyphens such that it
gets discarded automatically by tools like "git am". Martin will have to
remove the above changelog manually. Anyway:
Reviewed-by: Bart Van Assche <bart.vanassche@xxxxxxx>