From 5eefd5a5a1073e7ccb55facbdc3347d67855823f Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Mon, 27 May 2019 15:34:08 +0200 Subject: [PATCH] debug: Add debug flags for queries Signed-off-by: Gert Wollny Reviewed-by: Gurchetan Singh --- src/vrend_debug.c | 1 + src/vrend_debug.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/vrend_debug.c b/src/vrend_debug.c index 2ab85c7..850efb4 100644 --- a/src/vrend_debug.c +++ b/src/vrend_debug.c @@ -119,6 +119,7 @@ static const struct debug_named_value vrend_debug_options[] = { {"tex", dbg_tex, "Log texture operations"}, {"caller", dbg_caller, "Log who is creating the context"}, {"tweak", dbg_tweak, "Log tweaks"}, + {"query", dbg_query, "Log queries"}, {"all", dbg_all, "Enable all debugging output"}, {"guestallow", dbg_allow_guest_override, "Allow the guest to override the debug flags"}, DEBUG_NAMED_VALUE_END diff --git a/src/vrend_debug.h b/src/vrend_debug.h index deaa6e2..80a2f32 100644 --- a/src/vrend_debug.h +++ b/src/vrend_debug.h @@ -44,6 +44,7 @@ enum virgl_debug_flags { dbg_tex = 1 << 8, dbg_caller = 1 << 9, dbg_tweak = 1 << 10, + dbg_query = 1 << 11, dbg_all = (1 << 12) - 1, dbg_allow_guest_override = 1 << 16, dbg_feature_use = 1 << 17,