Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6315339imm; Wed, 27 Jun 2018 05:56:14 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLlrfDdmNVEtRy9Wx+nBuIeq//UFUY4Fxa9+gkxiPeI4XAZfdW9Uf1W7KVaxeXqpv7uyjZq X-Received: by 2002:a17:902:7581:: with SMTP id j1-v6mr6042236pll.218.1530104174879; Wed, 27 Jun 2018 05:56:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530104174; cv=none; d=google.com; s=arc-20160816; b=JeInxxomcxLA6qFe9mphnxamURBBsSewvOBMCeefuoyuReVpwarJYCQZGxZUdu+cpx FALfvU6tfzmzsnQdNCNADN4udsKSAq7xYTjRqMhLK3R/sK1vg7uuNa5IHASH0Gd8WH6d wd7n4nWWOMJQPxOUQhVgRNqDKv/rEOQo9DWFhVNowGqYIlxOSCq34gQgBNJUxwZhpPW2 g6VGXDD7ixEXWD7mVRfh+PT7WC+L19GdMasHHMwwFuL1jUmseNCR6ylz1yNqhI1wEHSv bqf23v3Vh7Vv9SdEdwQ9WfVcFMwJafCTF1Kdhcdf013fImJjR0tuB1Dhiodye/wAHqFZ Rdqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=c9y1tBQrQuX0xQQRYjNxGdwmN/CaZcYBZJRc+877mkU=; b=uMiu/SKNbw6e1mpt1d6iwtNfe6yTDp7eqa4ZykOS/RElS19slDTMT4VJ01TlhbTqa4 SlwOGeHNQMxMJ4JcxzDheLvsSfhKv85iq4KkS0pXO/7VH9lIxrwR/8Jo96VmfbyDZvxg AJKHdkK/zPaRS3/EQq/X2QG5LIcdzqHZV++kWUzeHfUf4h5UQSINWR2ikIXScWtcRN+o HE4I73mtZZf0veeWJEglfmzK5XYMVesZS8tXjQve3fRuH61L+UjejMvpSqSM7Nkgh3eJ p9351x1eZUA2DP7rc6ffr4s+z/5QUL6IewQukBI0xAXGFJ47xog9eufBT9vsvy3r7LSC r1zA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r10-v6si168790pgq.187.2018.06.27.05.56.00; Wed, 27 Jun 2018 05:56: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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965077AbeF0Mxc (ORCPT + 99 others); Wed, 27 Jun 2018 08:53:32 -0400 Received: from mx2.suse.de ([195.135.220.15]:54456 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934329AbeF0Mx3 (ORCPT ); Wed, 27 Jun 2018 08:53:29 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id B3BC4ACB3; Wed, 27 Jun 2018 12:53:27 +0000 (UTC) From: Johannes Thumshirn To: Christoph Hellwig , Sagi Grimberg , Keith Busch , James Smart Cc: Linux Kernel Mailinglist , Linux NVMe Mailinglist , Johannes Thumshirn Subject: [PATCH v5 0/2] nvme: add controller id and disk name to tracepoints Date: Wed, 27 Jun 2018 14:53:22 +0200 Message-Id: <20180627125324.22064-1-jthumshirn@suse.de> X-Mailer: git-send-email 2.16.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Patch one is a preparation patch from Sagi and caches the nvme_ctrl in the nvme_request. This is not only useful for the tracepoints but for further development as well. The second patch adds the controller IDs and if applicable the disk name to the tracepoints so we can distinguish between the individual controllers and disks. The patches are relative to the nvme-4.19 branch. Changes to v4: * Move nvme_ctrl caching into init_request callouts * I decided against renaming the qid tag in the tracepints but opt-in for a hwqid once we have all the infor available Johannes Thumshirn (1): nvme: trace: add disk name to tracepoints Sagi Grimberg (1): nvme: cache struct nvme_ctrl reference to struct nvme_request drivers/nvme/host/core.c | 5 +++-- drivers/nvme/host/fc.c | 1 + drivers/nvme/host/nvme.h | 1 + drivers/nvme/host/pci.c | 2 ++ drivers/nvme/host/rdma.c | 1 + drivers/nvme/host/trace.h | 39 +++++++++++++++++++++++++-------------- drivers/nvme/target/loop.c | 1 + 7 files changed, 34 insertions(+), 16 deletions(-) -- 2.16.4