perf has support for io_uring when SPDK_CONFIG_URING is set, but we have to include config.h to get it. Fixes problem with perf -R option not working, even when user specified --with-uring. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I403ae755349e702c39dba332c5fb335d171f0d02 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16584 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
perf.c | ||
README.md |
Compiling perf on FreeBSD
To use perf test on FreeBSD over NVMe-oF, explicitly link userspace library of HBA. For example, on a setup with Mellanox HBA,
LIBS += -lmlx5