From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 7A9ABA00C5;
	Sun, 26 Apr 2020 05:23:03 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 4904F1C012;
	Sun, 26 Apr 2020 05:23:02 +0200 (CEST)
Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com
 [209.85.208.195]) by dpdk.org (Postfix) with ESMTP id 279071C010
 for <dev@dpdk.org>; Sun, 26 Apr 2020 05:23:00 +0200 (CEST)
Received: by mail-lj1-f195.google.com with SMTP id e25so13989102ljg.5
 for <dev@dpdk.org>; Sat, 25 Apr 2020 20:23:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=es2E+0nuecODssF3YVIweXwCEl1BBy/Cw8mOhgV5qZA=;
 b=ljwXVcsAuufukLt4uPzP5HU5HWQYy6tzjLcB0WZmif2Eycvz//LlSRVwcJ0uD1unB/
 McIlBVq1lBI+0VXqbqM2GvCvrKkqBMLFREwFFP9dUYNEqMPi9Kbrgj3hT7B8WIdlzwAz
 sFpu8sBhrUxer+ndaHuMp3i3yIZFSUpgxafxpqpmi6ie6DMMhSIHHRdpmXDDNSEetKmk
 H0NcnEH+efD4jlyLnylF8fVEaXL2asfv63SEhe6wu34sWqbL8CEaLZGkq7RUkpmMFuRc
 dJbqnVc8Rgc9Uh+mm62Atx0lRhPYrvMqJ0Tk4r1lM07TqZnG/ZQ/3uD53Ja0Y0Xp6/gS
 nS5Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=es2E+0nuecODssF3YVIweXwCEl1BBy/Cw8mOhgV5qZA=;
 b=FhLzbbdcdZKpv00L/yCx5ZVKb2R9SSJrO3o3iH+1V5MS/sXl5t7rDoJ1oD0vKR8npL
 +39nW03t9cuX5A0P7IkQVpOPeIyrnSqqQPmbTWKzs0Q6xKtLEGVeCr47EkztwRIwybLV
 7np7ojymMiA4ktGN+Q64nYBAlWMp1NbCvA5RvETwTKSHqmDq+BPgNCZV2t5gi07wSNfy
 1UOjpI0tF2SA/xbpeNNAElsbSbYu4h4VkdIcSYtBoJPWbVdiByerb6vhXFunTLL6LagV
 5DHVdsYllLgzkxXqN+pcyi+wpqLn9nFJ12tJQWsjKeJaWyHa0S5H10vKKq/m8lRxb/td
 8mlg==
X-Gm-Message-State: AGi0PuahBcrGRvbquM+l+K5NPr1dNIy64nlSQPTWO9Eev+Fam4Q5nWMa
 CPK6yBA6kzmodi7aRiwNuraWFu+aQLc=
X-Google-Smtp-Source: APiQypLi5M5g8KOhdcIKdbxv1AdWhHcMzeuhwyrD8GfWGBiEryJj/oYf+1upvDEuS1VZpaT9qvojAA==
X-Received: by 2002:a2e:8999:: with SMTP id c25mr10578160lji.73.1587871379312; 
 Sat, 25 Apr 2020 20:22:59 -0700 (PDT)
Received: from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru.
 [37.110.65.23])
 by smtp.googlemail.com with ESMTPSA id q19sm7188934ljj.84.2020.04.25.20.22.58
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 25 Apr 2020 20:22:58 -0700 (PDT)
From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
To: dev@dpdk.org
Cc: Pallavi Kadam <pallavi.kadam@intel.com>,
 Narcisa Ana Maria Vasile <Narcisa.Vasile@microsoft.com>,
 Ranjit Menon <ranjit.menon@intel.com>,
 Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Date: Sun, 26 Apr 2020 06:22:43 +0300
Message-Id: <20200426032245.2437733-1-dmitry.kozliuk@gmail.com>
X-Mailer: git-send-email 2.25.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-dev] [PATCH 0/2] eal/windows: fix build by supporing trace
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

This patch fixes errors caused by using Unix-only functions in tracing
EAL.  It introduces new internal EAL wrappers for directory management
and provides simple, but correct implementation for some EAL functions
required for tracing.

This patch implements rte_get_tsc_hz() instead of basing upon a pending
patchset, because fixing the build allows testing said patchset in the
first place, and also re-implemented code is only a few lines.

Dmitry Kozlyuk (2):
  eal/windows: replace sys/queue.h with a complete one from FreeBSD
  eal/windows: fix build by supporting trace

 config/meson.build                            |   2 +
 .../common/eal_common_trace_utils.c           |  29 +-
 lib/librte_eal/common/eal_private.h           |  26 +
 lib/librte_eal/common/meson.build             |   5 +
 lib/librte_eal/freebsd/Makefile               |   4 +
 .../include/generic/rte_byteorder.h           |   4 +-
 lib/librte_eal/linux/Makefile                 |   4 +
 lib/librte_eal/meson.build                    |   4 +
 lib/librte_eal/unix/eal_unix.c                |  45 ++
 lib/librte_eal/unix/meson.build               |   6 +
 lib/librte_eal/windows/eal.c                  |  91 +++
 lib/librte_eal/windows/eal_thread.c           |   9 +
 lib/librte_eal/windows/eal_windows.h          |   3 +
 lib/librte_eal/windows/include/rte_os.h       |  33 +-
 lib/librte_eal/windows/include/sys/queue.h    | 663 ++++++++++++++++--
 15 files changed, 838 insertions(+), 90 deletions(-)
 create mode 100644 lib/librte_eal/unix/eal_unix.c
 create mode 100644 lib/librte_eal/unix/meson.build

-- 
2.25.1