From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751813AbdBOCfo (ORCPT ); Tue, 14 Feb 2017 21:35:44 -0500 Received: from mga11.intel.com ([192.55.52.93]:43322 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751348AbdBOCfm (ORCPT ); Tue, 14 Feb 2017 21:35:42 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,163,1484035200"; d="scan'208";a="225420836" From: Lu Baolu To: Mathias Nyman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Lu Baolu Subject: [PATCH 0/6] usb: xhci: several patches for xhci trace Date: Wed, 15 Feb 2017 10:35:06 +0800 Message-Id: <1487126112-6069-1-git-send-email-baolu.lu@linux.intel.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mathias, This patch set includes several patches for traces in xhci driver. One trace class is for command. Several trace events are defined to trace the life cycle of any xhci command. The other trace class is for context. Several trace events are defined to trace the change in input/output device contexts of a USB device. This also includes some cleanups to remove duplicated code. Best regards, Lu Baolu Lu Baolu (6): usb: xhci: add xhci_log_cmd trace events usb: xhci: enhance xhci_log_ctx trace events usb: xhci: remove xhci_debug_trb() usb: xhci: remove xhci_dbg_ctx() usb: xhci: fix link trb decoding usb: xhci: cleanup xhci_decode_trb() slightly drivers/usb/host/xhci-dbg.c | 200 ------------------------------------------ drivers/usb/host/xhci-hub.c | 2 + drivers/usb/host/xhci-ring.c | 17 ++-- drivers/usb/host/xhci-trace.h | 153 ++++++++++++++++++++++++++++---- drivers/usb/host/xhci.c | 67 +++++--------- drivers/usb/host/xhci.h | 111 +++++++++++++++++------ 6 files changed, 252 insertions(+), 298 deletions(-) -- 2.1.4