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 5272743036; Fri, 11 Aug 2023 19:13:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 25A3B40E03; Fri, 11 Aug 2023 19:13:29 +0200 (CEST) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id 9ABF540144 for ; Fri, 11 Aug 2023 19:13:28 +0200 (CEST) Received: by mail-pf1-f182.google.com with SMTP id d2e1a72fcca58-68783b2e40bso1695189b3a.3 for ; Fri, 11 Aug 2023 10:13:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1691774007; x=1692378807; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=C5hB3K8Ot7EflbNHNtnF7oVOwSqHfnFg9uYq12J/2hE=; b=foAQFYJIS1NvA4zlWpjvyneFalvO83wJZD9GkEeXT0P7puCaRlTEW+icskkvqsfnfP h3x/FdcaBIFcUD2+RmzMw9E1P4Ljf3t1r9Y19vxTe5HYDx9ivF1Wntx8s+9rpXOQsuII cAYThbZgCX1S/oA2XONLvmkoeSt8dTSpUBvoPpX50jqh75eqvLyMLwQMX4c9304184ek xx0buk6KpFM2glXsh3JMFEaeDswBxN/fK3uvBEAfpAOrwT8ie2ltCqaNGDpJ/6zTFFPh JBOXZV1j0gm1nmmvDZvre5qCLdXFt/X/2xspBdTa8AlTXiSHcOUjTzWCxxFAung8n2vj xvRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691774007; x=1692378807; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=C5hB3K8Ot7EflbNHNtnF7oVOwSqHfnFg9uYq12J/2hE=; b=VewpDy1E0smICsYJXS1wwoOMAuxDWcn2MBrCdPQvNCiI6HUWC8JZOXNO5ScvlsWJof PxXHRU02KmxYxO3sQWDwbJjP3qkzZoMqim4yEKbxpL7fgO/12KAqumnwnHIG9X138Hup GAmti2/c3hWqXAmRq1hvS5bxkZ3uE9r8Kls4/QZ76OS4RuWC1fylgPfFOfYl3MF2fmJU 30JZu0HzEDqtujrqHo7VwYBaFE4puV9+o6TQByCHKSqjNaWSPjC46eCZdJNMJlUevho+ sqy18/vSkNpIGsZZXYGi0zYbLQ11xVjdlRQcXnkjmRdUuFNK0YuGK01xtXS42pulIYn3 GvLA== X-Gm-Message-State: AOJu0YzRjEF7xjk9SDI5fc/2VSDQZ1h3ajqRm5JW/yHzxDNd9WZIbluz C1DWPDKHYa+sJF1roFIicinBwA== X-Google-Smtp-Source: AGHT+IGwiBi5wJ6aqKmFtx/OiVg0T8urgnlvNEHYkWaw4v98aqZcXxeRV95brqD4onwu4i4g+WhWUw== X-Received: by 2002:a05:6a20:9188:b0:133:215e:7230 with SMTP id v8-20020a056a20918800b00133215e7230mr3037010pzd.55.1691774007571; Fri, 11 Aug 2023 10:13:27 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id h20-20020a62b414000000b00687790191a2sm3551368pfn.58.2023.08.11.10.13.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Aug 2023 10:13:23 -0700 (PDT) Date: Fri, 11 Aug 2023 10:13:19 -0700 From: Stephen Hemminger To: David Marchand Cc: dev@dpdk.org, Bruce Richardson , Thomas Monjalon Subject: Re: [PATCH] devtools: list symbols by version Message-ID: <20230811101319.6fb67e33@hermes.local> In-Reply-To: <20230811154944.2947783-1-david.marchand@redhat.com> References: <20230811154944.2947783-1-david.marchand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Fri, 11 Aug 2023 17:49:44 +0200 David Marchand wrote: > Make it easier to list experimental symbols added in a certain version. > While at it, add a check on map symbol files content to avoid breaking > this listing tool. > > Example: > $ ./buildtools/map-list-symbol.sh -V 18.11 lib/eal/version.map > lib/eal/version.map EXPERIMENTAL rte_dev_event_callback_process > lib/eal/version.map EXPERIMENTAL rte_dev_hotplug_handle_disable > lib/eal/version.map EXPERIMENTAL rte_dev_hotplug_handle_enable > > Signed-off-by: David Marchand Acked-by: Stephen Hemminger Script would probably be cleaner in Python with elftools package. Using awk to parse map output is getting messy.