Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp87104imm; Thu, 28 Jun 2018 15:27:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdomIRYj+FA0o2yDXK2kW81t+0XoOQJ6COkSgzMKeRdKdRhDbSCd0XkaPJL4QSVLuXq8SY3 X-Received: by 2002:aa7:8510:: with SMTP id v16-v6mr11897980pfn.77.1530224834771; Thu, 28 Jun 2018 15:27:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530224834; cv=none; d=google.com; s=arc-20160816; b=IwljPPz2jeLRQOw7e1yOy6giUo+G2q7a68T6oIxZroA2bs3wm/oRYz999KxuNgAwgf 8uOVN17GVjpOCW0qmvqw/c4c8JbX5WWT/PiqHlEknBJOUtX+RzKeTP1R3Qrbi/O7+n+G i3Ldhu4qQb8k7ko4pQc1RyjglkvggJkYANWjR9wbKDdkyroMYi33sHSYkKdJZPKIsD6a y5iJN/jMIWZDw8UI4W+XUFNR7uNphUa8dKGqx0PmhWvwPb3tT80LssiliOdZDtnZP79T +ZmVsfY9EvQHDHd1oll+eB4miGOuHH9yeqlv4pUXgnfNUdSpD/MmFe79lnCeAw3jFRED RJCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=4fTXSXlQiwW+Q58mfRTyLX9sK49DhC5dyPdGHDj83GU=; b=cxDxS41izll044O7OhG0QfdIJ7W9i47Omt+D/IXi1aCRDgK9jQ5GAN4d3NI3h4qaU3 BDQ1/bHTL5HYXssTDDaJl1dLhUdwT8dmCBX0cA4BC0bN4Fq+9wROPV/isy5MMu2enD+s huy0sLlUgwwRt4hB+JrKtammm0BOmhi3Nm2WbuIkLQBJJWhMLw2YFWjbMWzvCNnCfnVU 58GPD2CtkFz2Z5oSFqH6qYTGZbzXjE4Ukst/Na3vUM5/5bMJQOYewDwSQn7Q2dmauQrO YjyVJm7nHcGufDSRc7QhFtEt2YiDRWqZr70M/Np97HlGIaaDNJ3lQGSgtycCBd2WS6gM w+Pw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u3-v6si7580714plb.2.2018.06.28.15.26.59; Thu, 28 Jun 2018 15:27:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966921AbeF1PDJ (ORCPT + 99 others); Thu, 28 Jun 2018 11:03:09 -0400 Received: from mga18.intel.com ([134.134.136.126]:29348 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964841AbeF1PDH (ORCPT ); Thu, 28 Jun 2018 11:03:07 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Jun 2018 08:03:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,284,1526367600"; d="scan'208";a="51238266" Received: from unknown (HELO localhost.localdomain) ([10.232.112.44]) by fmsmga008.fm.intel.com with ESMTP; 28 Jun 2018 08:03:06 -0700 Date: Thu, 28 Jun 2018 09:02:18 -0600 From: Keith Busch To: Sagi Grimberg Cc: Keith Busch , Christoph Hellwig , Linux Kernel Mailinglist , Linux NVMe Mailinglist , Johannes Thumshirn Subject: Re: [PATCH] nvme: trace: add disk name to tracepoints Message-ID: <20180628150218.GA12970@localhost.localdomain> References: <20180626135141.14088-1-jthumshirn@suse.de> <20180626135141.14088-3-jthumshirn@suse.de> <20180626150106.GB6628@localhost.localdomain> <20180627073328.aws2apvc357jobge@linux-x5ow.site> <1e7d0f93-9d20-1b99-58c4-651b1d0dedf0@grimberg.me> <20180627234313.GB10657@localhost.localdomain> <20180628005943.GC10657@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 28, 2018 at 05:34:07PM +0300, Sagi Grimberg wrote: > > > Thinking more on this, not using the hw qid really limits the utility > > out of using these trace events: We may not be able to match a completion > > to the submission without it since cmdid alone isn't enough to match up > > the two events. > > > > Here's an updated proposal and actually tested. I was also able to > > combine admin and io submissions. > > This looks good! > > One thing that is missing is the controller id when we have multiple > controllers/subsystems in the host like: > > TP_printk("nvme%d: qid=%d, nsid=%u, cmdid=%u, flags=0x%x, meta=0x%llx, > cmd=(%s %s)", > > But Johannes can add it I guess. Yep, I'm sort of going off on a tangent from what Johannes was adding. We definitely need both. I have some time today, I'll send out the a series with the combined results.