Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4095071imu; Tue, 18 Dec 2018 09:00:02 -0800 (PST) X-Google-Smtp-Source: AFSGD/XY06XrjhCDLG0iid7qoUJspHRn3C3lBbhAi50GvD4AztPjCb/t8GmDWEG9wsRoFfJBRI3D X-Received: by 2002:a63:ab08:: with SMTP id p8mr16113301pgf.87.1545152402848; Tue, 18 Dec 2018 09:00:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545152402; cv=none; d=google.com; s=arc-20160816; b=JSWroKHDxm1k9ERzTZDJVZQLI2Hj0Y/8+sSPlfpJubqrAtA1Ziibi6e1hr7wIRCY2E WRFaUy4b9IAkE3UngoNaXB/qtxUuts/nTymUXZfBX3LBhHLrP5XTIDE2LT9vmyk2nptd nF5a7Qd9iXir37LjnIW6zCPWhFLF4KEJn/d1TARkwSUwtlTaC4UfUA7nKQe+YfzK3IPz yHUlVWFAe7zEYsT9fRMerFzpc/tvM4TvDnwpa0hlopUUb3tKT8qX/gpoSMvAYX+XBKkE fTVCns9KNr+N1cUh77nrLB0LPo2q5CTjif7VRU7oBpRwaGG6DLTqGbElEEX0g7tLsac3 mzCQ== 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; bh=iCr9CFivXbl9x9lGHTpKmUfSJ61LruZyZNtC0OxivLg=; b=wgGzNf+eTgfvm8P6tDr5wru51FdR4CzWdHwFPUzAoOr8Dh2qjTROtOLynQizDTNcvM obGD7lfC4xHUNuC+MV5RGX/bUTi/kApMRUEwTBvSzg0iYnHNQVRMwDPGaEkFOnBLOmNy xJvIPwle1kxY5+u80NctqczQGIdBvPbL7aaqwv+PPqP5lT6KiLTL/0TU7L+TO0y2iI8z FEwJOl8+wzhSx78tpcZf7or0gC8TrBXWREp4E4Pgi/5Sq6GQQ5fdpEBORgQsacZ3QNb4 7ZONka1NAqLGcgx9OkLabEpAXhzIX9dTZ2QcBe++cxURJ+OOgcdekJfxLSb0dliGY4dJ D66Q== 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 97si13350504ple.389.2018.12.18.08.59.33; Tue, 18 Dec 2018 09:00:02 -0800 (PST) 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 S1727119AbeLRQ5I (ORCPT + 99 others); Tue, 18 Dec 2018 11:57:08 -0500 Received: from verein.lst.de ([213.95.11.211]:41913 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726738AbeLRQ5H (ORCPT ); Tue, 18 Dec 2018 11:57:07 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id 558AE68D8D; Tue, 18 Dec 2018 17:57:06 +0100 (CET) Date: Tue, 18 Dec 2018 17:57:06 +0100 From: Christoph Hellwig To: yupeng Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, keith.busch@intel.com, axboe@fb.com, hch@lst.de, sagi@grimberg.me, jthumshirn@suse.de Subject: Re: [PATCH v4 1/2] export trace.c helper functions to other modules Message-ID: <20181218165706.GA13271@lst.de> References: <20181218045138.4282-1-yupeng0921@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181218045138.4282-1-yupeng0921@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 17, 2018 at 08:51:37PM -0800, yupeng wrote: > Export bellow three functions: > nvme_trace_parse_admin_cmd > nvme_trace_parse_nvm_cmd > nvme_trace_disk_name > Thus any other modules which depends on nvme-core could use the trace > events in trace.h But we don't actually use these trace events anywhere outside of core.c, even with your second patch, do we?