Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7672938imm; Thu, 28 Jun 2018 07:35:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJQKvdeiTzKBXbUJpzlpAXSgUxK6SxV7Ynkh4WK3e511qjxYEG41Is8oBlTRZ0LrytW0DeM X-Received: by 2002:a17:902:4d:: with SMTP id 71-v6mr10763098pla.317.1530196531458; Thu, 28 Jun 2018 07:35:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530196531; cv=none; d=google.com; s=arc-20160816; b=J1oD0EY7I5yzOAYn96VlNCxS67tY5xTSt5vrKzizGX5BrtWVlOqWwXIWEJtL3ykjxx n/lSYrYUs5n7iF7PTyu+xJeq9EC6P+2wBz3v//u80expYIN7Il6N1Tbl3GemqYh3VXxh vauzT8kbIbw6/5JSnMeqGWQI8oqbGP8CD/rYgnFVYZ2jVw4sxexsdrZKzAnkBOSFC6wl scP6lcX80bmInrZ7H3vrzT6y8pzKj8HEbcYJzku0ogPgxjdaIitGhTfQ8pCg/IPtNGAh sIZjTLVjQLU3g4UfjhKtwCqM/XdrwI61jgyCFKhU+vjnX5Z+07B8SLHS7FPvIBd+cPin C+mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=qcXB1Jp2Fjand+VeQ5L1pA/zQ7f3NzSM8pwsjYyTWTQ=; b=WMKvKkf1ac1bIUYlJv9XVjFHohvXUMGnHLegw4ePr7ExpDMM5xCrBzJLbwd7BzC9ZJ BNawA+lna5SmOvasQciYlnaz7yJnyB1LFdlXCPNKzR3/wnTDKWYaTXgNKHZdfYw4vxyp ulMJ9pVsfUPR8Rv5D86cVvBqNq4A9Xy8ue+SvebMW4B4l1M4r0j7iIFFcyIerxGztpzc +T8aLHKeVp5eY2Jks34egl2h7ViCSuZg+/SIeETUgDKV5muCThsGrGFztdmwQdv800fx Soz4s3a00NEnE5WQ596npkqD16EKspTOBTplTgnGeDldTXYB1qwGiAWy8dA34BTubKzD DVPQ== 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 n8-v6si6065717pgr.437.2018.06.28.07.35.13; Thu, 28 Jun 2018 07:35:31 -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 S966817AbeF1OeO (ORCPT + 99 others); Thu, 28 Jun 2018 10:34:14 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:36321 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966506AbeF1OeL (ORCPT ); Thu, 28 Jun 2018 10:34:11 -0400 Received: by mail-wr0-f193.google.com with SMTP id f16-v6so5767306wrm.3 for ; Thu, 28 Jun 2018 07:34:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=qcXB1Jp2Fjand+VeQ5L1pA/zQ7f3NzSM8pwsjYyTWTQ=; b=pmUhhxsEwfXTrML59ttvjCxppe9ixWb7HWPeD4exkxpi2Wo+Gmqoa7hLIG55NUVxqO /Xz1115gB2It64TEndp6i+wVU6N+RvPMhQdR74Ulz5v7EFLPr1eAqBwFIwD/DqTEwrIi u1yaufEdFYwA8x3HQ/fnR6KzRPeKfpfld2pJqG/pwOOVZpaR1d86j/bWtnPU4L4MXxDs dYkLhjScrik4zty6aG8sHmgzKYCM7zR0N4QEemSEvRO3U2c75DGdsTfw1o3bxKUtFp+g ggfBZUagchV4m9/EcNt8wTUCQ+7uFPaURyQRdwjlM40dPQgMi3/gYq58/Xvr7bqKsAhD thoA== X-Gm-Message-State: APt69E2Iaf+5hTaGIOXhbJlP7+m/Gu9AyB3M7/YVFekIfggO7n1mrfxx WafSNbDPQtgi329P0oGZ/+o= X-Received: by 2002:adf:f6c4:: with SMTP id y4-v6mr8476590wrp.4.1530196450665; Thu, 28 Jun 2018 07:34:10 -0700 (PDT) Received: from [192.168.81.52] (bzq-219-42-90.isdn.bezeqint.net. [62.219.42.90]) by smtp.gmail.com with ESMTPSA id k82-v6sm13298006wmg.10.2018.06.28.07.34.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Jun 2018 07:34:09 -0700 (PDT) Subject: Re: [PATCH] nvme: trace: add disk name to tracepoints To: Keith Busch Cc: Keith Busch , Christoph Hellwig , Linux Kernel Mailinglist , Linux NVMe Mailinglist , Johannes Thumshirn 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> From: Sagi Grimberg Message-ID: Date: Thu, 28 Jun 2018 17:34:07 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180628005943.GC10657@localhost.localdomain> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 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.