diff --git a/meson.build b/meson.build index eee37817..2c32aee0 100644 --- a/meson.build +++ b/meson.build @@ -64,7 +64,7 @@ if get_option('tracy_no_system_tracing') add_project_arguments('-DTRACY_NO_SYSTEM_TRACING', language : 'cpp') endif -if get_option('tracy_no_extra_nopsleds') +if get_option('tracy_patchable_nopsleds') add_project_arguments('-DTRACY_PATCHABLE_NOPSLEDS', language : 'cpp') endif diff --git a/meson_options.txt b/meson_options.txt index ecf6ea1e..3fad341c 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -14,6 +14,7 @@ option('tracy_no_verify', type : 'boolean', value : false, description : 'Disabl option('tracy_no_vsync_capture', type : 'boolean', value : false, description : 'Disable capture of hardware Vsync events') option('tracy_no_frame_image', type : 'boolean', value : false, description : 'Disable the frame image support and its thread') option('tracy_no_system_tracing', type : 'boolean', value : false, description : 'Disable systrace sampling') +option('tracy_patchable_nopsleds', type : 'boolean', value : false, description : 'Enable nopsleds for efficient patching by system-level tools (e.g. rr)') option('tracy_timer_fallback', type : 'boolean', value : false, description : 'Use lower resolution timers') option('tracy_delayed_init', type : 'boolean', value : false, description : 'Enable delayed initialization of the library (init on first call)') option('tracy_manual_lifetime', type : 'boolean', value : false, description : 'Enable the manual lifetime management of the profile')