Skip to content

Commit e7b401d

Browse files
authored
Upgrade tracy to 0.13.0. (#12)
1 parent 3cc6a4a commit e7b401d

23 files changed

+1189
-343
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [ztracy](https://github.com/zig-gamedev/ztracy)
22

3-
Performance markers for [Tracy 0.12.2](https://github.com/wolfpld/tracy) in Zig
3+
Performance markers for [Tracy 0.13.0](https://github.com/wolfpld/tracy) in Zig
44

55
Initial Zig bindings created by [Martin Wickham](https://github.com/SpexGuy/Zig-Tracy)
66

libs/tracy/TracyClient.cpp

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,11 @@
3232
#include "client/TracyOverride.cpp"
3333
#include "client/TracyKCore.cpp"
3434

35-
#if defined(TRACY_HAS_CALLSTACK)
36-
# if TRACY_HAS_CALLSTACK == 2 || TRACY_HAS_CALLSTACK == 3 || TRACY_HAS_CALLSTACK == 4 || TRACY_HAS_CALLSTACK == 6
37-
# include "libbacktrace/alloc.cpp"
38-
# include "libbacktrace/dwarf.cpp"
39-
# include "libbacktrace/fileline.cpp"
40-
# include "libbacktrace/mmapio.cpp"
41-
# include "libbacktrace/posix.cpp"
42-
# include "libbacktrace/sort.cpp"
43-
# include "libbacktrace/state.cpp"
44-
# if TRACY_HAS_CALLSTACK == 4
45-
# include "libbacktrace/macho.cpp"
46-
# else
47-
# include "libbacktrace/elf.cpp"
48-
# endif
49-
# include "common/TracyStackFrames.cpp"
50-
# endif
35+
#ifdef TRACY_ROCPROF
36+
# include "client/TracyRocprof.cpp"
5137
#endif
52-
5338
#ifdef _MSC_VER
5439
# pragma comment(lib, "ws2_32.lib")
55-
# pragma comment(lib, "dbghelp.lib")
5640
# pragma comment(lib, "advapi32.lib")
5741
# pragma comment(lib, "user32.lib")
5842
# pragma warning(pop)

0 commit comments

Comments
 (0)