Core: Add Apple Instruments support

This commit is contained in:
Stuart Carnie
2025-11-30 08:59:13 +11:00
parent 25203e24c4
commit 93b6348cfe
5 changed files with 131 additions and 19 deletions

View File

@@ -11,3 +11,7 @@ def profiler_gen_builder(target, source, env):
file.write("#define TRACY_CALLSTACK 62\n")
if env["profiler"] == "perfetto":
file.write("#define GODOT_USE_PERFETTO\n")
if env["profiler"] == "instruments":
file.write("#define GODOT_USE_INSTRUMENTS\n")
if env["profiler_sample_callstack"]:
file.write("#define INSTRUMENTS_SAMPLE_CALLSTACKS\n")