eal/windows: fix build by enabling trace compilation
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 3 repliesIn review
- v12 patches 6 repliesSuperseded
Changes in v2 from the cover letter
* Change title to reflect that only tracing compilation is enabled.
* Split commits adding new API and fixind build on Windows.
* Move new functions to eal_filesystem.h.
* Remove unneeded Fixes: line.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | eal/windows: replace sys/queue.h with a complete one from FreeBSDlib/ | +601 | 0 replies | |
| 2/3 | eal: add internal directory management APIlib/ lib/ lib/ +4 more | +105 | 1 reply | |
| 3/3 | eal/windows: fix build by enabling trace compilationconfig/ lib/ lib/ +5 more | +141 | 2 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jerin Jacob | Narcisa Vasile |
|---|---|---|
| Series | A-b | |
| 1/3 | ||
| 2/3 | A-b | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [dpdk-dev] [PATCH v2 0/3] eal/windows: fix build by enabling trace compilation
This patch fixes errors caused by using Unix-only functions in tracing EAL. It does not provide full tracing support for Windows because of missing regex implementation. It introduces new internal EAL wrappers for directory management and provides basic, but correct implementation for some EAL functions required for tracing compilation.
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.
v2:
* Change title to reflect that only tracing compilation is enabled.
* Split commits adding new API and fixind build on Windows.
* Move new functions to eal_filesystem.h.
* Remove unneeded Fixes: line.
Dmitry Kozlyuk (3):
eal/windows: replace sys/queue.h with a complete one from FreeBSD
eal: add internal directory management API eal/windows: fix build by enabling trace compilation
config/meson.build | 2 + .../common/eal_common_trace_utils.c | 29 +- lib/librte_eal/common/eal_filesystem.h | 30 +- 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_filesystem.c | 51 ++ lib/librte_eal/unix/meson.build | 6 + lib/librte_eal/windows/eal.c | 92 +++ 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, 847 insertions(+), 92 deletions(-) create mode 100644 lib/librte_eal/unix/eal_unix_filesystem.c create mode 100644 lib/librte_eal/unix/meson.build
Signature · 1 line
2.25.1