summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/app/test/test_trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/app/test/test_trace.h')
-rw-r--r--src/spdk/dpdk/app/test/test_trace.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/spdk/dpdk/app/test/test_trace.h b/src/spdk/dpdk/app/test/test_trace.h
new file mode 100644
index 000000000..413842f60
--- /dev/null
+++ b/src/spdk/dpdk/app/test/test_trace.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(C) 2020 Marvell International Ltd.
+ */
+#include <rte_trace_point.h>
+
+RTE_TRACE_POINT(
+ app_dpdk_test_tp,
+ RTE_TRACE_POINT_ARGS(const char *str),
+ rte_trace_point_emit_string(str);
+)
+
+RTE_TRACE_POINT_FP(
+ app_dpdk_test_fp,
+ RTE_TRACE_POINT_ARGS(void),
+)