eal: disable tracing on Windows
authorDmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Sun, 26 Apr 2020 16:41:52 +0000 (19:41 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 26 Apr 2020 18:03:56 +0000 (20:03 +0200)
commit9ca37645c7935f63ac1f8ec9b7c3548d89462f00
treeab21b0b62fb954316827c370d78651cd83a75a4b
parentf16d377150a0ab406d1e845ae1c96a4519f9c0ee
eal: disable tracing on Windows

Fix build errors caused by using Unix-specific functions in common code.
Hide and disable command-line options related to tracing on Windows.

Fixes: 3d26a70ae338 ("trace: add trace configuration parameter")
Fixes: 3b155d24bdaf ("trace: hook subsystem to Linux")

Reported-by: Pallavi Kadam <pallavi.kadam@intel.com>
Suggested-by: Thomas Monjalon <thomas@monjalon.net>
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/common/eal_common_thread.c