mirror of
https://github.com/wolfpld/tracy
synced 2026-01-19 04:52:09 +00:00
TRACY_CALLSTACK is not boolean.
This commit is contained in:
@@ -17,8 +17,8 @@ if get_option('on_demand')
|
||||
tracy_common_args += ['-DTRACY_ON_DEMAND']
|
||||
endif
|
||||
|
||||
if get_option('callstack')
|
||||
tracy_common_args += ['-DTRACY_CALLSTACK']
|
||||
if get_option('callstack') > 0
|
||||
tracy_common_args += ['-DTRACY_CALLSTACK='+get_option('callstack').to_string()]
|
||||
endif
|
||||
|
||||
if get_option('no_callstack')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
option('tracy_enable', type : 'boolean', value : true, description : 'Enable profiling', yield: true)
|
||||
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('callstack', type : 'integer', value : 0, description : 'Enforce callstack collection for tracy zones x frames deep')
|
||||
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')
|
||||
|
||||
Reference in New Issue
Block a user