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 3B858A00C2; Mon, 22 Aug 2022 08:48:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DEFC941132; Mon, 22 Aug 2022 08:48:04 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 99751410FA for ; Mon, 22 Aug 2022 08:48:03 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: RE: [RFC] Dynamic log/trace control via telemetry Date: Mon, 22 Aug 2022 08:47:59 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D8728C@smartserver.smartshare.dk> In-Reply-To: <20220820181941.24882e85@sovereign> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [RFC] Dynamic log/trace control via telemetry Thread-Index: Adi0qEl135SaHzrnSOWyb7AwmxEtwgBRyicg References: <20220816021738.5498f802@sovereign> <20220816190837.40c557bb@hermes.local> <20220817181503.323b6230@sovereign> <98CBD80474FA8B44BF855DF32C47DC35D8727A@smartserver.smartshare.dk> <20220820181941.24882e85@sovereign> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Dmitry Kozlyuk" Cc: "Stephen Hemminger" , 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 PiBGcm9tOiBEbWl0cnkgS296bHl1ayBbbWFpbHRvOmRtaXRyeS5rb3psaXVrQGdtYWlsLmNvbV0N Cj4gU2VudDogU2F0dXJkYXksIDIwIEF1Z3Vzd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