Skip to content

Commit 053330c

Browse files
committed
Update Tracy to 0.13.1 protocol
1 parent 7ea4343 commit 053330c

82 files changed

Lines changed: 1216 additions & 366 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

include/hx/TelemetryTracy.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
#define TRACY_ENABLE
99
#include <hxcpp.h>
10-
#include "../../project/thirdparty/tracy-0.12.0/tracy/TracyC.h"
11-
#include "../../project/thirdparty/tracy-0.12.0/tracy/Tracy.hpp"
10+
#include "../../project/thirdparty/tracy-0.13.1/tracy/TracyC.h"
11+
#include "../../project/thirdparty/tracy-0.13.1/tracy/Tracy.hpp"
1212

1313
#ifdef HXCPP_TRACY_MEMORY
1414
#ifdef HXCPP_GC_MOVING

include/hxcpp.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,9 @@ typedef PropertyAccessMode PropertyAccess;
347347
#include "Enum.h"
348348
#include <hx/Interface.h>
349349
#include <hx/Telemetry.h>
350+
#if defined(HX_LINUX) && defined(HXCPP_TRACY)
351+
#include <hx/TelemetryTracy.h>
352+
#endif
350353
#if defined(__OBJC__) && defined(HXCPP_OBJC)
351354
#include <hx/ObjcHelpers.h>
352355
#endif

project/thirdparty/tracy-0.12.0/TracyClient.cpp renamed to project/thirdparty/tracy-0.13.1/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)
File renamed without changes.

project/thirdparty/tracy-0.12.0/client/TracyArmCpuTable.hpp renamed to project/thirdparty/tracy-0.13.1/client/TracyArmCpuTable.hpp

File renamed without changes.

0 commit comments

Comments
 (0)