diff --git a/code/__defines/_init.dm b/code/__defines/_init.dm index 474e021d338..a44ae356338 100644 --- a/code/__defines/_init.dm +++ b/code/__defines/_init.dm @@ -1,5 +1,5 @@ // NEVER leave this on in your PR or the server will probably explode -// #define ENABLE_BYOND_TRACY +#define ENABLE_BYOND_TRACY /datum/super_early_init /datum/super_early_init/New() @@ -7,7 +7,7 @@ // This allows us to get the real details of everything lagging at server start. // world.Profile(PROFILE_START) #if defined(ENABLE_BYOND_TRACY) - var/tracy_init = LIBCALL("prof.dll", "init")() // Setup Tracy integration + var/tracy_init = LIBCALL(world.system_type == MS_WINDOWS ? "prof.dll" : "./libprof.so", "init")() // Setup Tracy integration if(length(tracy_init) != 0 && tracy_init[1] == ".") // it returned the output file to_world_log("TRACY Enabled, streaming to [tracy_init].") else if(tracy_init != "0") diff --git a/libprof.so b/libprof.so new file mode 100644 index 00000000000..6e1a30641b9 Binary files /dev/null and b/libprof.so differ diff --git a/prof.dll b/prof.dll index 71cf5cac616..fd77000faf5 100644 Binary files a/prof.dll and b/prof.dll differ