mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 16:54:35 +00:00
Drop tracy_ prefix from meson options.
This commit is contained in:
parent
0762d4bbd1
commit
783bc7c939
54
meson.build
54
meson.build
@ -13,114 +13,114 @@ if get_option('tracy_enable')
|
||||
tracy_common_args += ['-DTRACY_ENABLE']
|
||||
endif
|
||||
|
||||
if get_option('tracy_on_demand')
|
||||
if get_option('on_demand')
|
||||
tracy_common_args += ['-DTRACY_ON_DEMAND']
|
||||
endif
|
||||
|
||||
if get_option('tracy_callstack')
|
||||
if get_option('callstack')
|
||||
tracy_common_args += ['-DTRACY_CALLSTACK']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_callstack')
|
||||
if get_option('no_callstack')
|
||||
tracy_common_args += ['-DTRACY_NO_CALLSTACK']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_callstack_inlines')
|
||||
if get_option('no_callstack_inlines')
|
||||
tracy_common_args += ['-DTRACY_NO_CALLSTACK_INLINES']
|
||||
endif
|
||||
|
||||
if get_option('tracy_only_localhost')
|
||||
if get_option('only_localhost')
|
||||
tracy_common_args += ['-DTRACY_ONLY_LOCALHOST']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_broadcast')
|
||||
if get_option('no_broadcast')
|
||||
tracy_common_args += ['-DTRACY_NO_BROADCAST']
|
||||
endif
|
||||
|
||||
if get_option('tracy_only_ipv4')
|
||||
if get_option('only_ipv4')
|
||||
tracy_common_args += ['-DTRACY_ONLY_IPV4']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_code_transfer')
|
||||
if get_option('no_code_transfer')
|
||||
tracy_common_args += ['-DTRACY_NO_CODE_TRANSFER']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_context_switch')
|
||||
if get_option('no_context_switch')
|
||||
tracy_common_args += ['-DTRACY_NO_CONTEXT_SWITCH']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_exit')
|
||||
if get_option('no_exit')
|
||||
tracy_common_args += ['-DTRACY_NO_EXIT']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_sampling')
|
||||
if get_option('no_sampling')
|
||||
tracy_common_args += ['-DTRACY_NO_SAMPLING']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_verify')
|
||||
if get_option('no_verify')
|
||||
tracy_common_args += ['-DTRACY_NO_VERIFY']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_vsync_capture')
|
||||
if get_option('no_vsync_capture')
|
||||
tracy_common_args += ['-DTRACY_NO_VSYNC_CAPTURE']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_frame_image')
|
||||
if get_option('no_frame_image')
|
||||
tracy_common_args += ['-DTRACY_NO_FRAME_IMAGE']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_system_tracing')
|
||||
if get_option('no_system_tracing')
|
||||
tracy_common_args += ['-DTRACY_NO_SYSTEM_TRACING']
|
||||
endif
|
||||
|
||||
if get_option('tracy_patchable_nopsleds')
|
||||
if get_option('patchable_nopsleds')
|
||||
tracy_common_args += ['-DTRACY_PATCHABLE_NOPSLEDS']
|
||||
endif
|
||||
|
||||
if get_option('tracy_delayed_init')
|
||||
if get_option('delayed_init')
|
||||
tracy_common_args += ['-DTRACY_DELAYED_INIT']
|
||||
endif
|
||||
|
||||
if get_option('tracy_manual_lifetime')
|
||||
if get_option('manual_lifetime')
|
||||
tracy_common_args += ['-DTRACY_MANUAL_LIFETIME']
|
||||
endif
|
||||
|
||||
if get_option('tracy_fibers')
|
||||
if get_option('fibers')
|
||||
tracy_common_args += ['-DTRACY_FIBERS']
|
||||
endif
|
||||
|
||||
if get_option('tracy_timer_fallback')
|
||||
if get_option('timer_fallback')
|
||||
tracy_common_args += ['-DTRACY_TIMER_FALLBACK']
|
||||
endif
|
||||
|
||||
if get_option('tracy_no_crash_handler')
|
||||
if get_option('no_crash_handler')
|
||||
tracy_common_args += ['-DTRACY_NO_CRASH_HANDLER']
|
||||
endif
|
||||
|
||||
if get_option('tracy_libunwind_backtrace')
|
||||
if get_option('libunwind_backtrace')
|
||||
tracy_common_args += ['-DTRACY_LIBUNWIND_BACKTRACE']
|
||||
tracy_public_deps += dependency('libunwind')
|
||||
endif
|
||||
|
||||
if get_option('tracy_symbol_offline_resolve')
|
||||
if get_option('symbol_offline_resolve')
|
||||
tracy_compile_args += ['-DTRACY_SYMBOL_OFFLINE_RESOLVE']
|
||||
endif
|
||||
|
||||
if get_option('tracy_libbacktrace_elf_dynload_support')
|
||||
if get_option('libbacktrace_elf_dynload_support')
|
||||
tracy_compile_args += ['-DTRACY_LIBBACKTRACE_ELF_DYNLOAD_SUPPORT']
|
||||
endif
|
||||
|
||||
if get_option('tracy_verbose')
|
||||
if get_option('verbose')
|
||||
tracy_common_args += ['-DTRACY_VERBOSE']
|
||||
endif
|
||||
|
||||
if get_option('tracy_debuginfod')
|
||||
if get_option('debuginfod')
|
||||
tracy_common_args += ['-DTRACY_DEBUGINFOD']
|
||||
tracy_public_deps += dependency('libdebuginfod')
|
||||
endif
|
||||
|
||||
tracy_shared_libs = get_option('default_library') == 'shared'
|
||||
if not tracy_shared_libs and get_option('tracy_shared_libs')
|
||||
if not tracy_shared_libs and get_option('shared_libs')
|
||||
warning('tracy_shared_libs is set to true, but default_library is set to static. Building static library.')
|
||||
endif
|
||||
|
||||
|
@ -1,28 +1,28 @@
|
||||
option('tracy_enable', type : 'boolean', value : true, description : 'Enable profiling', yield: true)
|
||||
option('tracy_on_demand', type : 'boolean', value : false, description : 'On-demand profiling')
|
||||
option('tracy_callstack', type : 'boolean', value : false, description : 'Enfore callstack collection for tracy regions')
|
||||
option('tracy_no_callstack', type : 'boolean', value : false, description : 'Disable all callstack related functionality')
|
||||
option('tracy_no_callstack_inlines', type : 'boolean', value : false, description : 'Disables the inline functions in callstacks')
|
||||
option('tracy_only_localhost', type : 'boolean', value : false, description : 'Only listen on the localhost interface')
|
||||
option('tracy_no_broadcast', type : 'boolean', value : false, description : 'Disable client discovery by broadcast to local network')
|
||||
option('tracy_only_ipv4', type : 'boolean', value : false, description : 'Tracy will only accept connections on IPv4 addresses (disable IPv6)')
|
||||
option('tracy_no_code_transfer', type : 'boolean', value : false, description : 'Disable collection of source code')
|
||||
option('tracy_no_context_switch', type : 'boolean', value : false, description : 'Disable capture of context switches')
|
||||
option('tracy_no_exit', type : 'boolean', value : false, description : 'Client executable does not exit until all profile data is sent to server')
|
||||
option('tracy_no_sampling', type : 'boolean', value : false, description : 'Disable call stack sampling')
|
||||
option('tracy_no_verify', type : 'boolean', value : false, description : 'Disable zone validation for C API')
|
||||
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_libunwind_backtrace', type : 'boolean', value : false, description : 'Use libunwind backtracing where supported')
|
||||
option('tracy_symbol_offline_resolve', type : 'boolean', value : false, description : 'Instead of full runtime symbol resolution, only resolve the image path and offset to enable offline symbol resolution')
|
||||
option('tracy_libbacktrace_elf_dynload_support', type : 'boolean', value : false, description : 'Enable libbacktrace to support dynamically loaded elfs in symbol resolution resolution after the first symbol resolve operation')
|
||||
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')
|
||||
option('tracy_fibers', type : 'boolean', value : false, description : 'Enable fibers support')
|
||||
option('tracy_shared_libs', type : 'boolean', value : false, description : 'Builds Tracy as a shared object (deprecated in favour of default_library=shared)', deprecated : true)
|
||||
option('tracy_no_crash_handler', type : 'boolean', value : false, description : 'Disable crash handling')
|
||||
option('tracy_verbose', type : 'boolean', value : false, description : 'Enable verbose logging')
|
||||
option('tracy_debuginfod', type : 'boolean', value : false, description : 'Enable debuginfod support')
|
||||
option('on_demand', type : 'boolean', value : false, description : 'On-demand profiling')
|
||||
option('callstack', type : 'boolean', value : false, description : 'Enfore callstack collection for tracy regions')
|
||||
option('no_callstack', type : 'boolean', value : false, description : 'Disable all callstack related functionality')
|
||||
option('no_callstack_inlines', type : 'boolean', value : false, description : 'Disables the inline functions in callstacks')
|
||||
option('only_localhost', type : 'boolean', value : false, description : 'Only listen on the localhost interface')
|
||||
option('no_broadcast', type : 'boolean', value : false, description : 'Disable client discovery by broadcast to local network')
|
||||
option('only_ipv4', type : 'boolean', value : false, description : 'Tracy will only accept connections on IPv4 addresses (disable IPv6)')
|
||||
option('no_code_transfer', type : 'boolean', value : false, description : 'Disable collection of source code')
|
||||
option('no_context_switch', type : 'boolean', value : false, description : 'Disable capture of context switches')
|
||||
option('no_exit', type : 'boolean', value : false, description : 'Client executable does not exit until all profile data is sent to server')
|
||||
option('no_sampling', type : 'boolean', value : false, description : 'Disable call stack sampling')
|
||||
option('no_verify', type : 'boolean', value : false, description : 'Disable zone validation for C API')
|
||||
option('no_vsync_capture', type : 'boolean', value : false, description : 'Disable capture of hardware Vsync events')
|
||||
option('no_frame_image', type : 'boolean', value : false, description : 'Disable the frame image support and its thread')
|
||||
option('no_system_tracing', type : 'boolean', value : false, description : 'Disable systrace sampling')
|
||||
option('patchable_nopsleds', type : 'boolean', value : false, description : 'Enable nopsleds for efficient patching by system-level tools (e.g. rr)')
|
||||
option('timer_fallback', type : 'boolean', value : false, description : 'Use lower resolution timers')
|
||||
option('libunwind_backtrace', type : 'boolean', value : false, description : 'Use libunwind backtracing where supported')
|
||||
option('symbol_offline_resolve', type : 'boolean', value : false, description : 'Instead of full runtime symbol resolution, only resolve the image path and offset to enable offline symbol resolution')
|
||||
option('libbacktrace_elf_dynload_support', type : 'boolean', value : false, description : 'Enable libbacktrace to support dynamically loaded elfs in symbol resolution resolution after the first symbol resolve operation')
|
||||
option('delayed_init', type : 'boolean', value : false, description : 'Enable delayed initialization of the library (init on first call)')
|
||||
option('manual_lifetime', type : 'boolean', value : false, description : 'Enable the manual lifetime management of the profile')
|
||||
option('fibers', type : 'boolean', value : false, description : 'Enable fibers support')
|
||||
option('shared_libs', type : 'boolean', value : false, description : 'Builds Tracy as a shared object (deprecated in favour of default_library=shared)', deprecated : true)
|
||||
option('no_crash_handler', type : 'boolean', value : false, description : 'Disable crash handling')
|
||||
option('verbose', type : 'boolean', value : false, description : 'Enable verbose logging')
|
||||
option('debuginfod', type : 'boolean', value : false, description : 'Enable debuginfod support')
|
Loading…
Reference in New Issue
Block a user