Skip to content

Commit 783bc7c

Browse files
committed
Drop tracy_ prefix from meson options.
1 parent 0762d4b commit 783bc7c

File tree

2 files changed

+54
-54
lines changed

2 files changed

+54
-54
lines changed

‎meson.build‎

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -13,114 +13,114 @@ if get_option('tracy_enable')
1313
tracy_common_args += ['-DTRACY_ENABLE']
1414
endif
1515

16-
if get_option('tracy_on_demand')
16+
if get_option('on_demand')
1717
tracy_common_args += ['-DTRACY_ON_DEMAND']
1818
endif
1919

20-
if get_option('tracy_callstack')
20+
if get_option('callstack')
2121
tracy_common_args += ['-DTRACY_CALLSTACK']
2222
endif
2323

24-
if get_option('tracy_no_callstack')
24+
if get_option('no_callstack')
2525
tracy_common_args += ['-DTRACY_NO_CALLSTACK']
2626
endif
2727

28-
if get_option('tracy_no_callstack_inlines')
28+
if get_option('no_callstack_inlines')
2929
tracy_common_args += ['-DTRACY_NO_CALLSTACK_INLINES']
3030
endif
3131

32-
if get_option('tracy_only_localhost')
32+
if get_option('only_localhost')
3333
tracy_common_args += ['-DTRACY_ONLY_LOCALHOST']
3434
endif
3535

36-
if get_option('tracy_no_broadcast')
36+
if get_option('no_broadcast')
3737
tracy_common_args += ['-DTRACY_NO_BROADCAST']
3838
endif
3939

40-
if get_option('tracy_only_ipv4')
40+
if get_option('only_ipv4')
4141
tracy_common_args += ['-DTRACY_ONLY_IPV4']
4242
endif
4343

44-
if get_option('tracy_no_code_transfer')
44+
if get_option('no_code_transfer')
4545
tracy_common_args += ['-DTRACY_NO_CODE_TRANSFER']
4646
endif
4747

48-
if get_option('tracy_no_context_switch')
48+
if get_option('no_context_switch')
4949
tracy_common_args += ['-DTRACY_NO_CONTEXT_SWITCH']
5050
endif
5151

52-
if get_option('tracy_no_exit')
52+
if get_option('no_exit')
5353
tracy_common_args += ['-DTRACY_NO_EXIT']
5454
endif
5555

56-
if get_option('tracy_no_sampling')
56+
if get_option('no_sampling')
5757
tracy_common_args += ['-DTRACY_NO_SAMPLING']
5858
endif
5959

60-
if get_option('tracy_no_verify')
60+
if get_option('no_verify')
6161
tracy_common_args += ['-DTRACY_NO_VERIFY']
6262
endif
6363

64-
if get_option('tracy_no_vsync_capture')
64+
if get_option('no_vsync_capture')
6565
tracy_common_args += ['-DTRACY_NO_VSYNC_CAPTURE']
6666
endif
6767

68-
if get_option('tracy_no_frame_image')
68+
if get_option('no_frame_image')
6969
tracy_common_args += ['-DTRACY_NO_FRAME_IMAGE']
7070
endif
7171

72-
if get_option('tracy_no_system_tracing')
72+
if get_option('no_system_tracing')
7373
tracy_common_args += ['-DTRACY_NO_SYSTEM_TRACING']
7474
endif
7575

76-
if get_option('tracy_patchable_nopsleds')
76+
if get_option('patchable_nopsleds')
7777
tracy_common_args += ['-DTRACY_PATCHABLE_NOPSLEDS']
7878
endif
7979

80-
if get_option('tracy_delayed_init')
80+
if get_option('delayed_init')
8181
tracy_common_args += ['-DTRACY_DELAYED_INIT']
8282
endif
8383

84-
if get_option('tracy_manual_lifetime')
84+
if get_option('manual_lifetime')
8585
tracy_common_args += ['-DTRACY_MANUAL_LIFETIME']
8686
endif
8787

88-
if get_option('tracy_fibers')
88+
if get_option('fibers')
8989
tracy_common_args += ['-DTRACY_FIBERS']
9090
endif
9191

92-
if get_option('tracy_timer_fallback')
92+
if get_option('timer_fallback')
9393
tracy_common_args += ['-DTRACY_TIMER_FALLBACK']
9494
endif
9595

96-
if get_option('tracy_no_crash_handler')
96+
if get_option('no_crash_handler')
9797
tracy_common_args += ['-DTRACY_NO_CRASH_HANDLER']
9898
endif
9999

100-
if get_option('tracy_libunwind_backtrace')
100+
if get_option('libunwind_backtrace')
101101
tracy_common_args += ['-DTRACY_LIBUNWIND_BACKTRACE']
102102
tracy_public_deps += dependency('libunwind')
103103
endif
104104

105-
if get_option('tracy_symbol_offline_resolve')
105+
if get_option('symbol_offline_resolve')
106106
tracy_compile_args += ['-DTRACY_SYMBOL_OFFLINE_RESOLVE']
107107
endif
108108

109-
if get_option('tracy_libbacktrace_elf_dynload_support')
109+
if get_option('libbacktrace_elf_dynload_support')
110110
tracy_compile_args += ['-DTRACY_LIBBACKTRACE_ELF_DYNLOAD_SUPPORT']
111111
endif
112112

113-
if get_option('tracy_verbose')
113+
if get_option('verbose')
114114
tracy_common_args += ['-DTRACY_VERBOSE']
115115
endif
116116

117-
if get_option('tracy_debuginfod')
117+
if get_option('debuginfod')
118118
tracy_common_args += ['-DTRACY_DEBUGINFOD']
119119
tracy_public_deps += dependency('libdebuginfod')
120120
endif
121121

122122
tracy_shared_libs = get_option('default_library') == 'shared'
123-
if not tracy_shared_libs and get_option('tracy_shared_libs')
123+
if not tracy_shared_libs and get_option('shared_libs')
124124
warning('tracy_shared_libs is set to true, but default_library is set to static. Building static library.')
125125
endif
126126

‎meson.options‎

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
option('tracy_enable', type : 'boolean', value : true, description : 'Enable profiling', yield: true)
2-
option('tracy_on_demand', type : 'boolean', value : false, description : 'On-demand profiling')
3-
option('tracy_callstack', type : 'boolean', value : false, description : 'Enfore callstack collection for tracy regions')
4-
option('tracy_no_callstack', type : 'boolean', value : false, description : 'Disable all callstack related functionality')
5-
option('tracy_no_callstack_inlines', type : 'boolean', value : false, description : 'Disables the inline functions in callstacks')
6-
option('tracy_only_localhost', type : 'boolean', value : false, description : 'Only listen on the localhost interface')
7-
option('tracy_no_broadcast', type : 'boolean', value : false, description : 'Disable client discovery by broadcast to local network')
8-
option('tracy_only_ipv4', type : 'boolean', value : false, description : 'Tracy will only accept connections on IPv4 addresses (disable IPv6)')
9-
option('tracy_no_code_transfer', type : 'boolean', value : false, description : 'Disable collection of source code')
10-
option('tracy_no_context_switch', type : 'boolean', value : false, description : 'Disable capture of context switches')
11-
option('tracy_no_exit', type : 'boolean', value : false, description : 'Client executable does not exit until all profile data is sent to server')
12-
option('tracy_no_sampling', type : 'boolean', value : false, description : 'Disable call stack sampling')
13-
option('tracy_no_verify', type : 'boolean', value : false, description : 'Disable zone validation for C API')
14-
option('tracy_no_vsync_capture', type : 'boolean', value : false, description : 'Disable capture of hardware Vsync events')
15-
option('tracy_no_frame_image', type : 'boolean', value : false, description : 'Disable the frame image support and its thread')
16-
option('tracy_no_system_tracing', type : 'boolean', value : false, description : 'Disable systrace sampling')
17-
option('tracy_patchable_nopsleds', type : 'boolean', value : false, description : 'Enable nopsleds for efficient patching by system-level tools (e.g. rr)')
18-
option('tracy_timer_fallback', type : 'boolean', value : false, description : 'Use lower resolution timers')
19-
option('tracy_libunwind_backtrace', type : 'boolean', value : false, description : 'Use libunwind backtracing where supported')
20-
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')
21-
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')
22-
option('tracy_delayed_init', type : 'boolean', value : false, description : 'Enable delayed initialization of the library (init on first call)')
23-
option('tracy_manual_lifetime', type : 'boolean', value : false, description : 'Enable the manual lifetime management of the profile')
24-
option('tracy_fibers', type : 'boolean', value : false, description : 'Enable fibers support')
25-
option('tracy_shared_libs', type : 'boolean', value : false, description : 'Builds Tracy as a shared object (deprecated in favour of default_library=shared)', deprecated : true)
26-
option('tracy_no_crash_handler', type : 'boolean', value : false, description : 'Disable crash handling')
27-
option('tracy_verbose', type : 'boolean', value : false, description : 'Enable verbose logging')
28-
option('tracy_debuginfod', type : 'boolean', value : false, description : 'Enable debuginfod support')
2+
option('on_demand', type : 'boolean', value : false, description : 'On-demand profiling')
3+
option('callstack', type : 'boolean', value : false, description : 'Enfore callstack collection for tracy regions')
4+
option('no_callstack', type : 'boolean', value : false, description : 'Disable all callstack related functionality')
5+
option('no_callstack_inlines', type : 'boolean', value : false, description : 'Disables the inline functions in callstacks')
6+
option('only_localhost', type : 'boolean', value : false, description : 'Only listen on the localhost interface')
7+
option('no_broadcast', type : 'boolean', value : false, description : 'Disable client discovery by broadcast to local network')
8+
option('only_ipv4', type : 'boolean', value : false, description : 'Tracy will only accept connections on IPv4 addresses (disable IPv6)')
9+
option('no_code_transfer', type : 'boolean', value : false, description : 'Disable collection of source code')
10+
option('no_context_switch', type : 'boolean', value : false, description : 'Disable capture of context switches')
11+
option('no_exit', type : 'boolean', value : false, description : 'Client executable does not exit until all profile data is sent to server')
12+
option('no_sampling', type : 'boolean', value : false, description : 'Disable call stack sampling')
13+
option('no_verify', type : 'boolean', value : false, description : 'Disable zone validation for C API')
14+
option('no_vsync_capture', type : 'boolean', value : false, description : 'Disable capture of hardware Vsync events')
15+
option('no_frame_image', type : 'boolean', value : false, description : 'Disable the frame image support and its thread')
16+
option('no_system_tracing', type : 'boolean', value : false, description : 'Disable systrace sampling')
17+
option('patchable_nopsleds', type : 'boolean', value : false, description : 'Enable nopsleds for efficient patching by system-level tools (e.g. rr)')
18+
option('timer_fallback', type : 'boolean', value : false, description : 'Use lower resolution timers')
19+
option('libunwind_backtrace', type : 'boolean', value : false, description : 'Use libunwind backtracing where supported')
20+
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')
21+
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')
22+
option('delayed_init', type : 'boolean', value : false, description : 'Enable delayed initialization of the library (init on first call)')
23+
option('manual_lifetime', type : 'boolean', value : false, description : 'Enable the manual lifetime management of the profile')
24+
option('fibers', type : 'boolean', value : false, description : 'Enable fibers support')
25+
option('shared_libs', type : 'boolean', value : false, description : 'Builds Tracy as a shared object (deprecated in favour of default_library=shared)', deprecated : true)
26+
option('no_crash_handler', type : 'boolean', value : false, description : 'Disable crash handling')
27+
option('verbose', type : 'boolean', value : false, description : 'Enable verbose logging')
28+
option('debuginfod', type : 'boolean', value : false, description : 'Enable debuginfod support')

0 commit comments

Comments
 (0)