> > This includes functions to record contexts of incoming commands > in a circular queue. ufshcd.c has already some function > tracer calls to get command history but ftrace would be > gone when system dies before you get the information, > such as panic cases. > > This patch also implements callbacks compl_xfer_req > to store IO contexts at completion times. > > When you turn on CONFIG_SCSI_UFS_EXYNOS_CMD_LOG, > the driver collects the information from incoming commands > in the circular queue. > > Signed-off-by: Kiwoong Kim <kwmad.kim@xxxxxxxxxxx> > Tested-by: Kiwoong Kim <kwmad.kim@xxxxxxxxxxx> Reviewed-by: Avri Altman <avri.altman@xxxxxxx>