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 A9EA1A0032; Wed, 17 Aug 2022 03:25:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4AC5740150; Wed, 17 Aug 2022 03:25:35 +0200 (CEST) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id C96D3400D6 for ; Wed, 17 Aug 2022 03:25:33 +0200 (CEST) Received: from dggpeml500024.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4M6qwb2zq3zXdct for ; Wed, 17 Aug 2022 09:21:19 +0800 (CST) Received: from [127.0.0.1] (10.67.100.224) by dggpeml500024.china.huawei.com (7.185.36.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Wed, 17 Aug 2022 09:25:30 +0800 Subject: Re: [RFC] Dynamic log/trace control via telemetry To: Dmitry Kozlyuk , References: <20220816021738.5498f802@sovereign> From: fengchengwen Message-ID: <245296ed-058b-2f6c-2243-70c49b122b19@huawei.com> Date: Wed, 17 Aug 2022 09:25:30 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20220816021738.5498f802@sovereign> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.100.224] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpeml500024.china.huawei.com (7.185.36.10) X-CFilter-Loop: Reflected 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 On 2022/8/16 7:17, Dmitry Kozlyuk wrote: > When debugging a live app, useful info can be obtained from logs or traces > that were not enabled when it was started and it is undesirable to restart. > Furthermore, unless the app authors have considered tracing, > rte_trace_save() is only called on exit, i.e. a shutdown is required again. Good idea!