From 494fe32d7a02d8099e65a55f8c49632e2d5ab3e4 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Wed, 31 Mar 2021 15:21:38 -0700 Subject: [PATCH] Bumping the tracy version to 0.7.7 (WIP). (#5272) This gets a bunch of tracy perf improvements, improved source code viewing (and a neat quick-peek feature), and bugfixes. Most importantly it adds the GPU zone feature for external source locations, which we need to track dispatches back to MLIR locations in vulkan tracing. --- SUBMODULE_VERSIONS.txt | 2 +- iree/base/tracing.h | 13 ------------- third_party/tracy | 2 +- 3 files changed, 2 insertions(+), 15 deletions(-) diff --git a/SUBMODULE_VERSIONS.txt b/SUBMODULE_VERSIONS.txt index cc13e3669419..2a43729ba802 100644 --- a/SUBMODULE_VERSIONS.txt +++ b/SUBMODULE_VERSIONS.txt @@ -14,7 +14,7 @@ d8c7ee00a687ac369e62e2032514a93a9b413502 third_party/pybind11 685f86471e9d26b3eb7676695a2e2cefb4551ae9 third_party/spirv_cross f8bf11a0253a32375c32cad92c841237b96696c0 third_party/spirv_headers da3da1e8a81a9866d98bcfe54eb21ec27cab7000 third_party/tensorflow -8732f0e94e4e41049a43029202bda94d7b4e85da third_party/tracy +e35d02186d00eff26ec6c698331a0767a28a51b0 third_party/tracy 9bd3f561bcee3f01d22912de10bb07ce4e23d378 third_party/vulkan_headers 3528e2aed3e8808f33e1e7d63eeb1560456a605a third_party/vulkan_memory_allocator 54e82ec439552018d0f26c60b0fd6cc9e36b42a8 third_party/wasm-micro-runtime diff --git a/iree/base/tracing.h b/iree/base/tracing.h index f173d305af0f..5966e4b7baff 100644 --- a/iree/base/tracing.h +++ b/iree/base/tracing.h @@ -448,19 +448,6 @@ enum { #else -// TODO(benvanik): bump submodule when upstream patch lands: -// https://github.com/wolfpld/tracy/pull/191 -#ifdef __cplusplus -extern "C" { -#endif -TRACY_API void ___tracy_emit_memory_alloc_named(const void* ptr, size_t size, - int secure, const char* name); -TRACY_API void ___tracy_emit_memory_free_named(const void* ptr, int secure, - const char* name); -#ifdef __cplusplus -} // extern "C" -#endif - #define IREE_TRACE_ALLOC(ptr, size) ___tracy_emit_memory_alloc(ptr, size, 0) #define IREE_TRACE_FREE(ptr) ___tracy_emit_memory_free(ptr, 0) #define IREE_TRACE_ALLOC_NAMED(name, ptr, size) \ diff --git a/third_party/tracy b/third_party/tracy index 8732f0e94e4e..e35d02186d00 160000 --- a/third_party/tracy +++ b/third_party/tracy @@ -1 +1 @@ -Subproject commit 8732f0e94e4e41049a43029202bda94d7b4e85da +Subproject commit e35d02186d00eff26ec6c698331a0767a28a51b0