vppinfra: Put clib_perf* behind Linux checks and provide stubs for FreeBSD 51/40251/3
authorTom Jones <thj@freebsd.org>
Thu, 25 Jan 2024 10:28:16 +0000 (10:28 +0000)
committerDamjan Marion <dmarion@0xa5.net>
Tue, 13 Feb 2024 16:28:51 +0000 (16:28 +0000)
commit7ec62fb0cd8c4d794d6f22ccc2fe8dae672a63a6
tree44c2f4c9c9369d18f05360390ca73365260280c3
parenta0b85388377913118ee8437ee23ab3d1ff4bee99
vppinfra: Put clib_perf* behind Linux checks and provide stubs for FreeBSD

As a placeholder stub out clib_perf functions on FreeBSD, the interface
for performance counters on FreeBSD is different and will require its
own implementation.

Type: improvement
Change-Id: I61511ebe5ee1fd6fe93d3179c7843c811f47a846
Signed-off-by: Tom Jones <thj@freebsd.org>
src/vppinfra/perfmon/perfmon.h
src/vppinfra/test/test.h