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 BB774A0542 for ; Mon, 24 Oct 2022 17:35:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 641DE42C31; Mon, 24 Oct 2022 17:33:33 +0200 (CEST) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) by mails.dpdk.org (Postfix) with ESMTP id 342E442BB1 for ; Wed, 19 Oct 2022 16:35:09 +0200 (CEST) Received: by mail-lf1-f53.google.com with SMTP id f37so28419409lfv.8 for ; Wed, 19 Oct 2022 07:35:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=YlaCV81FzWYJi7O2HeOPZs14d/15mNhlrB+EgRykwDA=; b=Lza7DVkjHAcXUs7VDZ2kGod9W5VuFstirApdkQGeIqbRbDwS5+/3XREeu/qV/Bw3LZ 4xNAO4SLTmCp43Cwn2kAzO/ammHi+efiqTq5LBXopCKHFM+4KTXqcuAU81H8Nm35x2wh 23Qi7paP5673QfjR1kJz66lQhc3JO198tQA1ofWBFMzrDMqkoY8URgrVFfDBIN7IjyDQ Lyeat8O3U3I+CZJHkAAdco/+CMzU1OrIbM5h5XR9rqFxothJ8SJ2jCXdzzewHOPZ89OS AKsFUN2evw2T7cTJHZ4QQ5+yCxRp9TWlwnDPvEDl0TLqqCj2G7RiVYzW4ookW7i+UhM7 w8JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=YlaCV81FzWYJi7O2HeOPZs14d/15mNhlrB+EgRykwDA=; b=79Ygg1lHqEMZKJedEdOqLCCYHzYR1CFRYw91wCwHG6b7f1eNnB78hxbIZuevlya/3y bBAtdGCX/8SildB2xTX5YI4DvghaMDEY0akt6orHX5VIQ1LrlpaFziOcKJ2qgPB3rcpN C4OIXk1Sawo2UQ329jKAQgb1RYcfWgGLF3cKpC0hDV6hWCjM4fZADGnmQUqpYfj+S65w RCff1L42epuEKTqWZTYm2UB/Gdic3qIxv4PP+lawOp3CVE5KKk9anljH6h332VOzi+WU 6NRdyjcNFedgT6aya3U42hCIHk97aX7gZsF9cs9fx+Mw4W6lqqZloo+lbrrTDabifvvF WZhg== X-Gm-Message-State: ACrzQf2H6C/EruR4wv6wUVkeS/Bdg5OtWhPdA9UAMzEG1M5oY5+55m6O uPCAWmrk7DJ+vkWsCwIL40EOgxBCjaNIAlYRNdF8kHRC7wQ= X-Google-Smtp-Source: AMsMyM5ENbtFqIvRvXoXRXuz6LGzC94glkJ+nF3THiZ5JV5opPh09BZiZ1d4myd/CifMCzpP63dG/EZNh9yRE/3heWE= X-Received: by 2002:a19:ac04:0:b0:49a:7253:4a68 with SMTP id g4-20020a19ac04000000b0049a72534a68mr3094765lfc.322.1666190108714; Wed, 19 Oct 2022 07:35:08 -0700 (PDT) MIME-Version: 1.0 From: Plague <4plague@gmail.com> Date: Wed, 19 Oct 2022 16:34:57 +0200 Message-ID: Subject: Re: [dpdk-users] Unable to see traces from a user defined DPDK Tracepoint To: users@dpdk.org Content-Type: multipart/alternative; boundary="0000000000008eec5b05eb641d92" X-Mailman-Approved-At: Mon, 24 Oct 2022 17:33:30 +0200 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --0000000000008eec5b05eb641d92 Content-Type: text/plain; charset="UTF-8" Seeing as this has no reply and I ran into the problem too, I am posting a solution here. Because the trace API was (is?) experimental, some of the calls are translated to RTE_SET_USED(). You need to define ALLOW_EXPERIMENTAL_API in the caller's source file at the very top. --0000000000008eec5b05eb641d92 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Seeing as this has no reply and I ran into the problem too= , I am posting a solution here.

Because the trace API wa= s (is?) experimental, some of the calls are translated to RTE_SET_USED(). Y= ou need to define ALLOW_EXPERIMENTAL_API in the caller's source file at= the very top.
--0000000000008eec5b05eb641d92--