From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DC4BBA04DE; Fri, 23 Oct 2020 10:01:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0D0F28D9A; Fri, 23 Oct 2020 10:01:17 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id 441186CAA for ; Fri, 23 Oct 2020 10:01:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603440072; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Ida0lpSfUTG6+nttRkXPnX8vYMs8tC6UC2rKsR3ux7k=; b=e4vD6PNa9rktoqU9om0uPlvwZaFzsHGTn8zB+6iO8p3xkQBEeBHhPH9j280wJShFgSKwkS Rfeot/XzMH8Z1m69EiLApf+XeJT+jBnN/eimTXxSyCpimIAeqXCWrX7Snqb90FcUoEZhVk /At9iW1jLoynFeWqjD41a2rVEIp0ygM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-591-1SznDt3xPOSsGvsEZuhXCg-1; Fri, 23 Oct 2020 04:01:10 -0400 X-MC-Unique: 1SznDt3xPOSsGvsEZuhXCg-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 48A1F64096; Fri, 23 Oct 2020 08:01:09 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.193.33]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3C91C26330; Fri, 23 Oct 2020 08:01:08 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: jerinj@marvell.com, skori@marvell.com Date: Fri, 23 Oct 2020 10:00:55 +0200 Message-Id: <20201023080058.13335-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Subject: [dpdk-dev] [PATCH 0/3] Rework CTF event description storage 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" Following recent increase of an internal array that was limiting CTF event descriptions, I had a second look at the code. All of this is slow path, so I see no reason in keeping this limitation and we can go with dynamic allocations. While at it, I tweaked the metadata file output. I consider this -rc2 material. -- David Marchand David Marchand (3): trace: fixup CTF event description at registration trace: remove size limit on CTF event description trace: make CTF metadata prettier lib/librte_eal/common/eal_common_trace.c | 44 ++--- lib/librte_eal/common/eal_common_trace_ctf.c | 164 +++++-------------- lib/librte_eal/common/eal_trace.h | 4 +- 3 files changed, 67 insertions(+), 145 deletions(-) -- 2.23.0