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 07084A04B5; Tue, 12 Jan 2021 02:30:56 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7FE8F140D75; Tue, 12 Jan 2021 02:30:56 +0100 (CET) Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mails.dpdk.org (Postfix) with ESMTP id 17EEE140D74 for ; Tue, 12 Jan 2021 02:30:55 +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 4D67120B6C40; Mon, 11 Jan 2021 17:30:54 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 4D67120B6C40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1610415054; bh=BJ2VQEX3NfXTEqj36aqUQSbJv5UdJ8Muhr/8SlvzGa0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r/siLl6oVPi+e9yk4zevkoKhrBWDr1aUQZimJfSlTkN/kmMCMvVkLaWXzuFxZW+d4 Yb4Zt9IokF9EOVN2SSyHmMgksmawswTOSUi2S/v5eaWZ2yUipESB3Da0fJ3x2YCKlD BbsEcKu32/e3MVVOMy50MjEUhOT1vsPKNOeBKDac= From: Tyler Retzlaff To: dev@dpdk.org Cc: dmitry.kozliuk@gmail.com, navasile@linux.microsoft.com Date: Mon, 11 Jan 2021 17:30:51 -0800 Message-Id: <1610415051-10593-1-git-send-email-roretzla@linux.microsoft.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1610408246-29482-1-git-send-email-roretzla@linux.microsoft.com> References: <1610408246-29482-1-git-send-email-roretzla@linux.microsoft.com> Subject: [dpdk-dev] [PATCH v2] 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 | 9 +++++++++ lib/meson.build | 1 + 2 files changed, 10 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..4cb7352ae --- /dev/null +++ b/lib/librte_metrics/rte_metrics_exports.def @@ -0,0 +1,9 @@ +EXPORTS + rte_metrics_get_names + rte_metrics_get_values + rte_metrics_init + rte_metrics_deinit + 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