Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2850635pxu; Mon, 14 Dec 2020 12:24:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJwLALURZFpq9MdOT74cGeTYlN+rCY8N1zJoXXmmDiZBnpZUuiOQ5OGV1YS3rqczH4ZZV1ig X-Received: by 2002:a17:906:f85:: with SMTP id q5mr15393059ejj.105.1607977444990; Mon, 14 Dec 2020 12:24:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607977444; cv=none; d=google.com; s=arc-20160816; b=dC7qkntIuAbYne8Lw+JImIo+OJORFBlT1LaJcEL5A96dO1T5ZkYDzodEtDo/W1Amou tL6hQE2J1mk2AfKxZSiBxrFkYMk5hXdnqk4MOn03TBPYLRADS3FbMx2Pg7ph0E54Rpiv luJaUcr1RMk68ahry6FfABYDA7eZtQc2tunoNYkzw8A5ax33fcG7z9ImI8soykBrtDD5 aYP81J8V0HWr78CeHtd5xHlmqO/icyFcjgan+P0FS9jo3JX+iudCcdqaYW2wL5O51CQw 4KGR3bCiDhAbIS470HGpOnTsSPnpp5IYnAjBnrvaaY15JyFHR2f4vNjU6rCRODz83eny ZyPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=CAtJX87HqXXu8z9DPu1gGW2L6L0r7ONQKKLzHO1fhlQ=; b=iaImNMGxvlp4mqF9I4uPDIvJumPvVU4rGpd5zsB2viVqMVyF6XVsHBolCoabm/dEyN x6SNTA+jphcEBnNBNO46tU9IMppniMlSwjZb/RrG+w+fn2kMfEUUwaOAS6RNXsgyzJHL S9CQxsUrINwTL+l+hTCZAZ5UtNnXhnUlmghRvp4csJyTIiTiB0ofDMJGKiJSGS6A4Jc+ EIIgPf+fJFOIDoQB/EYtWbjlRIRGdOArPq8sJLIdLX6Lo9uO6GMvwBNUJvWX+vQvrT8s hcn5qX1CDklK4IJnEzUtc3g5+lAgEQKE4Gn/5DrI10Ugrh7bQ1/8JUzDZ9A7nkZNd5hW yP0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=C+fe6fZP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ds7si12403879ejc.20.2020.12.14.12.23.42; Mon, 14 Dec 2020 12:24:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=C+fe6fZP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502880AbgLNUVG (ORCPT + 99 others); Mon, 14 Dec 2020 15:21:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727855AbgLNUVG (ORCPT ); Mon, 14 Dec 2020 15:21:06 -0500 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20C70C0613D3; Mon, 14 Dec 2020 12:20:26 -0800 (PST) Received: by mail-ej1-x643.google.com with SMTP id jx16so24341671ejb.10; Mon, 14 Dec 2020 12:20:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=CAtJX87HqXXu8z9DPu1gGW2L6L0r7ONQKKLzHO1fhlQ=; b=C+fe6fZP1TyzKBNGaW3LtoCox4rIcmYQOaU/AZ3k/EnlwAdE11YbebbqXWTORnxWod 5ahtEiayO26PSzWmOLPkl32Lyt4MYMW5/LiKiYnUhstsO3Kd2lKOLmnulPwGxoz7ON3j 1n9GklV8ykXWFVRfOz0a61IjGRBzKJI5XwMbng3GGO9s+FuCIUH2YLlTL7ODTnlW5NT1 Cmp5U+59K9dGVQpqmWRidQZ4sKScemDOzTE5ry5YzO5aiNPF+dWs0OSA7EicWhOqi5EA 5akAIGeuk10AatEsiTGYiCsA2ponvV8+ey46LhE1SHYTGuNgVHEt+BQSfo9q6ZRUecSB iiRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=CAtJX87HqXXu8z9DPu1gGW2L6L0r7ONQKKLzHO1fhlQ=; b=fof6hqXvzj9rDxiXo/atKyQi61Tx0dt/vQRqW7iC3nEMLkz6tXJZ5L3PulExPhMgl+ 0OneqTAW+A8oJlFYZ4ZrVGY58hy+5YME9IN+NtBBnMeL98KJOQznwEPffftNRAmKW01/ pEA2aQiczKzXAr0CQGmGr934gtel4wFNR91dIE4ir+Lzr2drj3piCqpLBHc2JjkCXiEQ S3shSJkqA5BaBm1TpO0/fiP0V45aE4LgBjOP1nwxBKVPCFtf3D2xvYPaBWn9J6JEDfhc Bu5L85QfgtO6gMHniSDW0N7LCwFuyxhseDnxg+aEVdPTyQFntX4bPAJdOdaEJlzfSeUH cYJQ== X-Gm-Message-State: AOAM532dMSvg7i8DJugdDEHp4p5GbGSF32X73J563UXC4XUzOgirH68M qbG0AxPauaXNMBJ2yVUchXw= X-Received: by 2002:a17:906:2818:: with SMTP id r24mr23244078ejc.100.1607977224826; Mon, 14 Dec 2020 12:20:24 -0800 (PST) Received: from localhost.localdomain (ip5f5bfce9.dynamic.kabel-deutschland.de. [95.91.252.233]) by smtp.gmail.com with ESMTPSA id r7sm9334634edh.86.2020.12.14.12.20.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Dec 2020 12:20:24 -0800 (PST) From: Bean Huo To: alim.akhtar@samsung.com, avri.altman@wdc.com, asutoshd@codeaurora.org, jejb@linux.ibm.com, martin.petersen@oracle.com, stanley.chu@mediatek.com, beanhuo@micron.com, bvanassche@acm.org, tomas.winkler@intel.com, cang@codeaurora.org, rostedt@goodmis.org, joe@perches.com Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/6] Several changes for the UPIU trace Date: Mon, 14 Dec 2020 21:20:08 +0100 Message-Id: <20201214202014.13835-1-huobean@gmail.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bean Huo Changelog: V2--V3: 1. Fix a typo in patch 1/6 (Reported-by: Joe Perches ) 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