From patchwork Mon Oct 5 20:02:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timothy McDaniel X-Patchwork-Id: 79713 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B1DFEA04B1; Mon, 5 Oct 2020 22:16:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E226E1B667; Mon, 5 Oct 2020 22:16:22 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 349361B664 for ; Mon, 5 Oct 2020 22:16:21 +0200 (CEST) IronPort-SDR: VNuL32IioZAcNskAoWGYuYNjPHCW3vOcL/WgnZG/oAwG8KkzNYaAIpX4DoOQpe3KIuqpbWdWgt q5+g2geUsOlw== X-IronPort-AV: E=McAfee;i="6000,8403,9765"; a="160840463" X-IronPort-AV: E=Sophos;i="5.77,340,1596524400"; d="scan'208";a="160840463" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2020 13:16:12 -0700 IronPort-SDR: wL5nHXWT5MYUWyigmiIRx62UlQoyUOZmzMudpzyI7eNkoK+ioi2FsWAbO/Q9hQGeEF2LzotESn myQVdUDguSzA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,340,1596524400"; d="scan'208";a="341481742" Received: from txasoft-yocto.an.intel.com ([10.123.72.192]) by fmsmga004.fm.intel.com with ESMTP; 05 Oct 2020 13:00:27 -0700 From: Timothy McDaniel To: Jerin Jacob , Sunil Kumar Kori Cc: dev@dpdk.org, erik.g.carrillo@intel.com, gage.eads@intel.com, harry.van.haaren@intel.com Date: Mon, 5 Oct 2020 15:02:34 -0500 Message-Id: <1601928154-26051-1-git-send-email-timothy.mcdaniel@intel.com> X-Mailer: git-send-email 1.7.10 Subject: [dpdk-dev] [PATCH 1/1] eal: increase TRACE CTF SIZE to recommended size X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Increase TRACE_CTF_FIELD_SIZE to 448, the recommended size. Fixes "CTF field is too long" error when running with trace enabled. Signed-off-by: Timothy McDaniel --- lib/librte_eal/common/eal_trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/common/eal_trace.h b/lib/librte_eal/common/eal_trace.h index 92c5951..438c2b7 100644 --- a/lib/librte_eal/common/eal_trace.h +++ b/lib/librte_eal/common/eal_trace.h @@ -24,7 +24,7 @@ #define TRACE_PREFIX_LEN 12 #define TRACE_DIR_STR_LEN (sizeof("YYYY-mm-dd-AM-HH-MM-SS") + TRACE_PREFIX_LEN) -#define TRACE_CTF_FIELD_SIZE 384 +#define TRACE_CTF_FIELD_SIZE 448 #define TRACE_POINT_NAME_SIZE 64 #define TRACE_CTF_MAGIC 0xC1FC1FC1 #define TRACE_MAX_ARGS 32