summaryrefslogtreecommitdiff
path: root/examples/packet_ordering
diff options
context:
space:
mode:
authorSunil Kumar Kori <skori@marvell.com>2020-04-23 00:33:45 +0530
committerDavid Marchand <david.marchand@redhat.com>2020-04-23 15:40:06 +0200
commit78d44153de8f7041ff35cb2c676fac8b9488f753 (patch)
tree9bbd108e69868174211cf0836f003eaad0a8d7c5 /examples/packet_ordering
parent16a277a24c9ffdda0daa6841e0cebc9cf0a7c4f1 (diff)
ethdev: add tracepoints
Add tracepoints at important and mandatory APIs for tracing support. Signed-off-by: Sunil Kumar Kori <skori@marvell.com> Acked-by: David Marchand <david.marchand@redhat.com>
Diffstat (limited to 'examples/packet_ordering')
-rw-r--r--examples/packet_ordering/Makefile1
-rw-r--r--examples/packet_ordering/meson.build1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/packet_ordering/Makefile b/examples/packet_ordering/Makefile
index 261b7f06a8..f5b68c97e8 100644
--- a/examples/packet_ordering/Makefile
+++ b/examples/packet_ordering/Makefile
@@ -51,6 +51,7 @@ include $(RTE_SDK)/mk/rte.vars.mk
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
+CFLAGS += -DALLOW_EXPERIMENTAL_API
include $(RTE_SDK)/mk/rte.extapp.mk
endif
diff --git a/examples/packet_ordering/meson.build b/examples/packet_ordering/meson.build
index 6c2fccdcb0..b381959145 100644
--- a/examples/packet_ordering/meson.build
+++ b/examples/packet_ordering/meson.build
@@ -6,6 +6,7 @@
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
+allow_experimental_apis = true
deps += 'reorder'
sources = files(
'main.c'