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 9BB6EA00C2; Fri, 17 Jun 2022 04:35:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87F5141148; Fri, 17 Jun 2022 04:35:53 +0200 (CEST) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id 852DA40698 for ; Fri, 17 Jun 2022 04:35:51 +0200 (CEST) Received: from dggpeml500024.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4LPNNs2wkHzSgwg; Fri, 17 Jun 2022 10:32:29 +0800 (CST) Received: from localhost.localdomain (10.67.165.24) 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; Fri, 17 Jun 2022 10:35:36 +0800 From: Chengwen Feng To: , , CC: , , Subject: [PATCH v3 0/4] bugfix for trace Date: Fri, 17 Jun 2022 10:29:09 +0800 Message-ID: <20220617022913.47564-1-fengchengwen@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220607120014.49823-1-fengchengwen@huawei.com> References: <20220607120014.49823-1-fengchengwen@huawei.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.67.165.24] 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 This patch contains three bugfix for trace and one test patch. --- v3: * address David Marchand's comments. * add xxx-by from David Marchand and Jerin Jacob. v2: * add test-by from Jerin Jacob for the 1/3 patch. * add freebsd change file because David Marchand verify it. * add more bugfix patch when try to enhance testcase. Chengwen Feng (4): eal: fix segment fault when exit trace eal: fix errno not set if strftime return zero eal: fix trace init fail with long file-prefix test: introduce trace-autotest with traces enabled app/test/meson.build | 10 ++++++++++ lib/eal/common/eal_common_trace_utils.c | 6 ++++-- lib/eal/freebsd/eal.c | 4 ++-- lib/eal/linux/eal.c | 4 ++-- 4 files changed, 18 insertions(+), 6 deletions(-) -- 2.33.0