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 3D375A04B5; Tue, 12 Jan 2021 00:37:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 02D6A140D29; Tue, 12 Jan 2021 00:37:36 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id E0220140D1D for ; Tue, 12 Jan 2021 00:37:34 +0100 (CET) Received: from linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net (linux.microsoft.com [13.77.154.182]) by linux.microsoft.com (Postfix) with ESMTPSA id 289B120B6C40; Mon, 11 Jan 2021 15:37:34 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 289B120B6C40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1610408254; bh=PyuK3hu82V0hBAhJnxwE+CXPPziyo0qxBD9gRv8H2xc=; h=From:To:Cc:Subject:Date:From; b=mczDJyr617eCxUxKQZuvI59w56TZa5uTe71EM+DGWIsE1N+h7riviPliHzTe7Etv2 Q7p1FNZ0m4ju8WKcCLf8KGZn+J3LngR05/pRaDtBNiafLVdjSsCMYIQUCucBluqhbb jTH+CKZ13EbXRBZjR/gOs+1FXcWuLNWTNbk96XV0= From: Tyler Retzlaff To: dev@dpdk.org Cc: thomas@monjalon.net, dmitry.kozliuk@gmail.com Date: Mon, 11 Jan 2021 15:37:26 -0800 Message-Id: <1610408246-29482-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dpdk-dev] [PATCH] metrics/windows: build rte_metrics library 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 Sender: "dev" From: Tyler Retzlaff declare reduced set of exports for rte_metrics on windows and include it in the set of libraries to build and install. rte_metrics_tel* exports depend on conditionally available component. this change minimally allows enabling the building of rte_metrics on windows. Signed-off-by: Tyler Retzlaff --- lib/librte_metrics/rte_metrics_exports.def | 8 ++++++++ lib/meson.build | 1 + 2 files changed, 9 insertions(+) create mode 100644 lib/librte_metrics/rte_metrics_exports.def diff --git a/lib/librte_metrics/rte_metrics_exports.def b/lib/librte_metrics/rte_metrics_exports.def new file mode 100644 index 000000000..40ec342a0 --- /dev/null +++ b/lib/librte_metrics/rte_metrics_exports.def @@ -0,0 +1,8 @@ +EXPORTS + rte_metrics_get_names + rte_metrics_get_values + rte_metrics_init + rte_metrics_reg_name + rte_metrics_reg_names + rte_metrics_update_value + rte_metrics_update_values diff --git a/lib/meson.build b/lib/meson.build index ed00f8914..845397fba 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -45,6 +45,7 @@ if is_windows 'mempool', 'mbuf', 'net', 'meter', 'ethdev', 'pci', 'cmdline', 'hash', + 'metrics', ] # only supported libraries for windows endif -- 2.29.0.vfs.0.0