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 2F1EEA0524; Sat, 4 Jul 2020 16:32:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8A0E51DB82; Sat, 4 Jul 2020 16:32:08 +0200 (CEST) Received: from mail-io1-f67.google.com (mail-io1-f67.google.com [209.85.166.67]) by dpdk.org (Postfix) with ESMTP id 257A21DB77 for ; Sat, 4 Jul 2020 16:32:07 +0200 (CEST) Received: by mail-io1-f67.google.com with SMTP id f23so35109149iof.6 for ; Sat, 04 Jul 2020 07:32:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=01x0p9wWx2WOUnZxk3Ac3JpY2rvNBgVyPKBFgZ0JnK0=; b=Sfzm0oKLI4GuYD2qjaxCowf6FXmSwaJ6k/CLbsDJZypyV+osGk+1Rj06nTGldzyFjt YtuW0PSCRsJsEroYaCsUEhm58Z9IsHcJ/SmTSQ1+hMzItauWKx9psWHp7TM6vXzF5+Kw luN+xn5SX6VBsVU4ZXl5oyAhA9l5Epi1KXT95AbLWiNArrvZt3MxDgRPnJuI9L5mTkQb YA5vv5V2QvvGjcDQZp9bORNf3vCNMiT4KZPVjaQby32xWJ31ceH/7QHRQyXvnT8+auPM 9MoXmioWLl0DhLpNDgpbO1UAa2+V8zXjONinHnf8Gl9tm59wZApQsLRXi1xUEFqEk2n5 iumg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=01x0p9wWx2WOUnZxk3Ac3JpY2rvNBgVyPKBFgZ0JnK0=; b=ISRdcFcTUt7cQkp+GR3YW/jggIUUhDwLNsePuO7p3OEpamZVdTbaorCFlq4rsGr/+U VIDWta31K6djW3pdmNEgCbq4+15KGgTs4lavPHCAgKz3/qXf+El5jR+q/18+8XL9uC6F ip2D0MqwgzKDK0ha59yx17XZ+vN6XCxi6LgpFnHJWNjqxM5NIkC1+el2nS2NbO19XZoe ET3hNChzt0ue/0BO4n0Bu7BZMhXk6rNp+EBrtVLLbKPR/m2bWvrlkCqsqGMuRjn0NikX ogCm+urAtJDk5Xw0xWpxqw+eHlQdDK3VKALWLgHhu26iaY0tfVy/QwSUu/ude+0PQTGF 6oHQ== X-Gm-Message-State: AOAM532hS3qyPZUs4aUoNI9Fny3V+Xu+sUvmQ20wEcpTMZ/HIdQDxLgs j/CQZSCumc8XhSf3r8NX+2G7Ue1PVKif7mb7BHk= X-Google-Smtp-Source: ABdhPJxXkyaJl0SfVQsLnOYmb8orHpM6dNOoz3gayMUZV7Z3iqM0YQhsBy+yO37Mm7p+2Te+vL9vqhCK+L3ZU1h1ukE= X-Received: by 2002:a5e:880f:: with SMTP id l15mr16252313ioj.94.1593873126380; Sat, 04 Jul 2020 07:32:06 -0700 (PDT) MIME-Version: 1.0 References: <20200503203135.6493-1-david.marchand@redhat.com> <20200503203135.6493-3-david.marchand@redhat.com> In-Reply-To: <20200503203135.6493-3-david.marchand@redhat.com> From: Jerin Jacob Date: Sat, 4 Jul 2020 20:01:50 +0530 Message-ID: To: David Marchand Cc: dpdk-dev , Thomas Monjalon , Jerin Jacob , Sunil Kumar Kori , John McNamara , Marko Kovacevic , Declan Doherty , Ferruh Yigit , Andrew Rybchenko , Olivier Matz Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 2/8] trace: simplify trace point registration 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" On Mon, May 4, 2020 at 2:02 AM David Marchand wrote: > > RTE_TRACE_POINT_DEFINE and RTE_TRACE_POINT_REGISTER must come in pairs. > Merge them and let RTE_TRACE_POINT_REGISTER handle the constructor part. > > Signed-off-by: David Marchand > --- > app/test/test_trace_register.c | 12 +- > doc/guides/prog_guide/trace_lib.rst | 12 +- > lib/librte_cryptodev/cryptodev_trace_points.c | 84 +++---- > .../common/eal_common_trace_points.c | 164 ++++++-------- > lib/librte_eal/include/rte_eal_trace.h | 122 +++++------ > lib/librte_eal/include/rte_trace_point.h | 14 +- > .../include/rte_trace_point_register.h | 6 +- > lib/librte_ethdev/ethdev_trace_points.c | 44 ++-- > lib/librte_eventdev/eventdev_trace_points.c | 205 +++++++----------- > lib/librte_mempool/mempool_trace_points.c | 124 ++++------- > 10 files changed, 309 insertions(+), 478 deletions(-) This needs to be rebased to ToT. Please merge to RC1 if possible. Acked-by: Jerin Jacob