[PATCH v4 0/6] Several changes for the UPIU trace

From: Bean Huo
Date: Tue Jan 05 2021 - 06:35:42 EST


From: Bean Huo <beanhuo@xxxxxxxxxx>

Changelog:

V3--v4:
1. Rebase patch onto 5.12/scsi-queue
2. Incorporate Avri's suggestion in patch 2/6

V2--V3:
1. Fix a typo in patch 1/6 (Reported-by: Joe Perches <joe@xxxxxxxxxxx>)

V1--V2:
1. Convert __get_str(str) to __print_symbolic()
2. Add new patches 1/6, 2/6,3/6
3. Use __print_symbolic() in patch 6/6

Bean Huo (6):
scsi: ufs: Remove stringize operator '#' restriction
scsi: ufs: Use __print_symbolic() for UFS trace string print
scsi: ufs: Don't call trace_ufshcd_upiu() in case trace poit is
disabled
scsi: ufs: Distinguish between query REQ and query RSP in query trace
scsi: ufs: Distinguish between TM request UPIU and response UPIU in TM
UPIU trace
scsi: ufs: Make UPIU trace easier differentiate among CDB, OSF, and TM

drivers/scsi/ufs/ufs.h | 17 ++++++
drivers/scsi/ufs/ufshcd.c | 72 ++++++++++++++++---------
include/trace/events/ufs.h | 108 +++++++++++++++++++++++--------------
3 files changed, 131 insertions(+), 66 deletions(-)

--
2.17.1