aboutsummaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2022-08-18 10:58:58 +0100
committerGitHub <noreply@github.com>2022-08-18 10:58:58 +0100
commita511dd988f5e05c5eebfadb823ef2ff6fe2d7379 (patch)
tree4403a1edb85b7dd5347beb4e1b051cedd6845382 /meson_options.txt
parentff0ef3fb1ed7b206d0586071a88778110b245582 (diff)
downloadlibvfio-user-a511dd988f5e05c5eebfadb823ef2ff6fe2d7379.zip
libvfio-user-a511dd988f5e05c5eebfadb823ef2ff6fe2d7379.tar.gz
libvfio-user-a511dd988f5e05c5eebfadb823ef2ff6fe2d7379.tar.bz2
avoid vfu_log() in SGL hot path (#705)
Even though in non-debug, we don't actually log anything here, even assembling the arguments to vfu_log() has a performance impact. Hide them behind a DEBUG_SGL define - even in a DEBUG build, they are particularly noisy and low-value. Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index a731e06..31cbc67 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -8,3 +8,5 @@ option('shadow-ioeventfd', type: 'boolean', value : false,
description: 'enable shadow ioeventfd (experimental)')
option('client-server-test', type: 'boolean', value : false,
description: 'enable client-server test (flaky)')
+option('debug-sgl', type: 'boolean', value : false,
+ description: 'additional debugging for sgl maps')