From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 44754A054F; Tue, 2 Mar 2021 11:23:48 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D41C74014E; Tue, 2 Mar 2021 11:23:47 +0100 (CET) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mails.dpdk.org (Postfix) with ESMTP id C1B6140142 for ; Tue, 2 Mar 2021 11:23:46 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 494791271; Tue, 2 Mar 2021 05:23:45 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 02 Mar 2021 05:23:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm3; bh= kpgKW4aE0Bm4uoIkLQMu53vSmxFmm56XN6//+6Ag9pM=; b=yCI5kLSZiIcLkh6u RLJVmH5qUdOR7DGAZ92C24mcFy0210tmjJtaprnQD+rU1V2ZrW+kfegQAkoXqTfT MMjMoiwI8ADLRXL3mQ+u6eoG/19YKeXOn7IXEkEnkGGuxOaDEMRws48oK3pMRhRp rGZ6uebMd+JebW1taEUiA2+2tkcotnm6YPXxQoNlI7+/azXxjDXL5Kv/P3UBN6v8 2pW2hjHuyTT3LFkg4QTaN7sidzRDlJltjtHkH20brwl/lY4B/dAHPmALp3f86LoP 4kwhZijKfmg0L95V6ijhttSHL41IQNv5hshVgw9V0Ji9GMtclp7qgPtYM0K5Mix/ Erz19A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=kpgKW4aE0Bm4uoIkLQMu53vSmxFmm56XN6//+6Ag9 pM=; b=mu8SoLK+TDHbGSOiVdhMpajcP4PZduAlJcGTB/Tfqq4HGOqBXqmszWPeI yi8zzacJ2Tef55Zdf3XZeIiz+kDo97iv8dnhsOKnXjq8ukfXImwMl0l8QcWe5rM+ N6R3BTRf1dcHgHtaZki6ndImMtw9TTlmFoCK7ch31Bls4hHWN6eH6oR4ZvNymUXf fOm1LNQTEL74hCFZ6Flc3poYmBhg1PP790Vs7N87RxWWO6ihVUVTaqqxEIfA9NuQ X3obda7vtV+j3RuHKFFi7IzPnc+nDQwsX9eXjk6LVHdTyKnC2K1k1KQqOXb8nZ7l aNr3c2BZMjjTXuVlYfKW2UPOqOOhA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddttddgudegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghl ohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 1749C108005C; Tue, 2 Mar 2021 05:23:44 -0500 (EST) From: Thomas Monjalon To: Bruce Richardson Cc: Kevin Laatz , ciara.power@intel.com, dev@dpdk.org, david.marchand@redhat.com Date: Tue, 02 Mar 2021 11:23:41 +0100 Message-ID: <2447657.GpPAYfsJW5@thomas> In-Reply-To: <20210302101427.GB1396@bricha3-MOBL.ger.corp.intel.com> References: <2019455.957uq3bD9f@thomas> <20210302101427.GB1396@bricha3-MOBL.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] telemetry logs X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 02/03/2021 11:14, Bruce Richardson: > On Mon, Mar 01, 2021 at 08:22:15PM +0100, Thomas Monjalon wrote: > > Hi, > > Sorry if I already asked this question. > > Would it be possible to use rte_log in rte_telemetry > > instead of returning telemetry_log_error at init? > > > It probably could be made to work by passing in the log function at init > time. Haven't delved too much into the details, though. Actually I think a better question is about the need to init telemetry if not used. It can generate an error without a need. Instead of the existing option --no-telemetry, what do you think of initializing the telemetry on its first use? This way we could remove the dependency of EAL on telemetry?