summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Jones <thj@freebsd.org>2024-01-26 15:20:02 +0000
committerDamjan Marion <dmarion@0xa5.net>2024-02-13 16:18:41 +0000
commit7c0415450b01b5b7cc58930ab3b659e169513ee8 (patch)
tree8dd3049003c8206389dce344f6b1d1276a4643c8
parent77ce67f70b4e274721cb7ac348410546f5d5dabd (diff)
vppinfra: Add a stubbed out test_perf function for FreeBSD
Type: improvement Change-Id: If136e0854dbaecfa62fc009ca2b0b94e8d9a56f2 Signed-off-by: Tom Jones <thj@freebsd.org>
-rw-r--r--src/vppinfra/test/test.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vppinfra/test/test.c b/src/vppinfra/test/test.c
index 194d725611a..55c2ae7a11f 100644
--- a/src/vppinfra/test/test.c
+++ b/src/vppinfra/test/test.c
@@ -161,6 +161,12 @@ test_perf (test_main_t *tm)
clib_perfmon_free (ctx);
return err;
}
+#elif __FreeBSD__
+clib_error_t *
+test_perf (test_main_t *tm)
+{
+ return NULL;
+}
#endif
int