Sfoglia il codice sorgente

fix: fixed default values for TRACY_NO_XXX options (#7723)

Lazy_V 1 mese fa
parent
commit
c373de0881
1 ha cambiato i file con 12 aggiunte e 12 eliminazioni
  1. 12 12
      packages/t/tracy/xmake.lua

+ 12 - 12
packages/t/tracy/xmake.lua

@@ -19,20 +19,20 @@ package("tracy")
 
     add_configs("tracy_enable",                     {type = "boolean", default = true,  description = "Enable profiling"})
     add_configs("on_demand",                        {type = "boolean", default = false, description = "On-demand profiling"})
-    add_configs("enforce_callstack",                {type = "boolean", default = false, description = "Enfore callstack collection for tracy regions"})
-    add_configs("callstack",                        {type = "boolean", default = false, description = "Enable all callstack related functionality"})
+    add_configs("enforce_callstack",                {type = "boolean", default = true,  description = "Enfore callstack collection for tracy regions"})
+    add_configs("callstack",                        {type = "boolean", default = true,  description = "Enable all callstack related functionality"})
     add_configs("callstack_inlines",                {type = "boolean", default = false, description = "Enable the inline functions in callstacks"})
     add_configs("only_localhost",                   {type = "boolean", default = false, description = "Only listen on the localhost interface"})
-    add_configs("broadcast",                        {type = "boolean", default = false, description = "Enable client discovery by broadcast to local network"})
+    add_configs("broadcast",                        {type = "boolean", default = true,  description = "Enable client discovery by broadcast to local network"})
     add_configs("only_ipv4",                        {type = "boolean", default = false, description = "Tracy will only accept connections on IPv4 addresses (disable IPv6)"})
-    add_configs("code_transfer",                    {type = "boolean", default = false, description = "Enable collection of source code"})
-    add_configs("context_switch",                   {type = "boolean", default = false, description = "Enable capture of context switches"})
-    add_configs("exit",                             {type = "boolean", default = false, description = "Client executable does not exit until all profile data is sent to server"})
-    add_configs("sampling",                         {type = "boolean", default = false, description = "Enable call stack sampling"})
-    add_configs("verify",                           {type = "boolean", default = false, description = "Enable zone validation for C API"})
-    add_configs("vsync_capture",                    {type = "boolean", default = false, description = "Enable capture of hardware Vsync events"})
-    add_configs("frame_image",                      {type = "boolean", default = false, description = "Enable the frame image support and its thread"})
-    add_configs("system_tracing",                   {type = "boolean", default = false, description = "Enable systrace sampling"})
+    add_configs("code_transfer",                    {type = "boolean", default = true,  description = "Enable collection of source code"})
+    add_configs("context_switch",                   {type = "boolean", default = true,  description = "Enable capture of context switches"})
+    add_configs("exit",                             {type = "boolean", default = true,  description = "Client executable will exit even if some profile data is not sent to server"})
+    add_configs("sampling",                         {type = "boolean", default = true,  description = "Enable call stack sampling"})
+    add_configs("verify",                           {type = "boolean", default = true,  description = "Enable zone validation for C API"})
+    add_configs("vsync_capture",                    {type = "boolean", default = true,  description = "Enable capture of hardware Vsync events"})
+    add_configs("frame_image",                      {type = "boolean", default = true,  description = "Enable the frame image support and its thread"})
+    add_configs("system_tracing",                   {type = "boolean", default = true,  description = "Enable systrace sampling"})
     add_configs("patchable_nopsleds",               {type = "boolean", default = false, description = "Enable nopsleds for efficient patching by system-level tools (e.g. rr)"})
     add_configs("timer_fallback",                   {type = "boolean", default = false, description = "Use lower resolution timers"})
     add_configs("libunwind_backtrace",              {type = "boolean", default = false, description = "Use libunwind backtracing where supported"})
@@ -41,7 +41,7 @@ package("tracy")
     add_configs("delayed_init",                     {type = "boolean", default = false, description = "Enable delayed initialization of the library (init on first call)"})
     add_configs("manual_lifetime",                  {type = "boolean", default = false, description = "Enable the manual lifetime management of the profile"})
     add_configs("fibers",                           {type = "boolean", default = true,  description = "Enable fibers support"})
-    add_configs("crash_handler",                    {type = "boolean", default = false, description = "Enable crash handling"})
+    add_configs("crash_handler",                    {type = "boolean", default = true,  description = "Enable crash handling"})
     add_configs("verb",                             {type = "boolean", default = false, description = "Enable verbose logging"})
 
     add_includedirs("include", "include/tracy")