bump tracy to 0.8.1 (#8957)
* bump tracy to 0.8.1
* Update Tracy capture binary in the benchmark pipeline
Co-authored-by: Lei Zhang <antiagainst@google.com>
diff --git a/build_tools/buildkite/cmake/android/arm64-v8a/benchmark2.yml b/build_tools/buildkite/cmake/android/arm64-v8a/benchmark2.yml
index 81d35a0..85e311f 100644
--- a/build_tools/buildkite/cmake/android/arm64-v8a/benchmark2.yml
+++ b/build_tools/buildkite/cmake/android/arm64-v8a/benchmark2.yml
@@ -30,10 +30,10 @@
- "git clean -fdx"
- "buildkite-agent artifact download --step Build benchmark-suites-${BUILDKITE_BUILD_NUMBER}.tgz ./"
- "buildkite-agent artifact download --step Build iree-android-tools-${BUILDKITE_BUILD_NUMBER}.tgz ./"
- - "wget https://storage.googleapis.com/iree-shared-files/tracy-capture-6998546f.tgz"
+ - "wget https://storage.googleapis.com/iree-shared-files/tracy-capture-80f6a93d.tgz"
- "tar -xzvf benchmark-suites-${BUILDKITE_BUILD_NUMBER}.tgz"
- "tar -xzvf iree-android-tools-${BUILDKITE_BUILD_NUMBER}.tgz"
- - "tar -xzvf tracy-capture-6998546f.tgz"
+ - "tar -xzvf tracy-capture-80f6a93d.tgz"
- "python3 build_tools/benchmarks/run_benchmarks_on_android.py --pin-cpu-freq --pin-gpu-freq --normal_benchmark_tool_dir=build-android/iree/tools/ --traced_benchmark_tool_dir=build-android-trace/iree/tools/ --trace_capture_tool=tracy-capture -o benchmark-results-pixel-4-${BUILDKITE_BUILD_NUMBER}.json --capture_tarball=trace-captures-pixel-4-${BUILDKITE_BUILD_NUMBER}.tgz --verbose build-host/"
if: "build.pull_request.id == null || (build.pull_request.labels includes 'buildkite:benchmark')"
agents:
@@ -50,10 +50,10 @@
- "git clean -fdx"
- "buildkite-agent artifact download --step Build benchmark-suites-${BUILDKITE_BUILD_NUMBER}.tgz ./"
- "buildkite-agent artifact download --step Build iree-android-tools-${BUILDKITE_BUILD_NUMBER}.tgz ./"
- - "wget https://storage.googleapis.com/iree-shared-files/tracy-capture-6998546f.tgz"
+ - "wget https://storage.googleapis.com/iree-shared-files/tracy-capture-80f6a93d.tgz"
- "tar -xzvf benchmark-suites-${BUILDKITE_BUILD_NUMBER}.tgz"
- "tar -xzvf iree-android-tools-${BUILDKITE_BUILD_NUMBER}.tgz"
- - "tar -xzvf tracy-capture-6998546f.tgz"
+ - "tar -xzvf tracy-capture-80f6a93d.tgz"
- "python3 build_tools/benchmarks/run_benchmarks_on_android.py --pin-cpu-freq --pin-gpu-freq --normal_benchmark_tool_dir=build-android/iree/tools/ --traced_benchmark_tool_dir=build-android-trace/iree/tools/ --trace_capture_tool=tracy-capture -o benchmark-results-pixel6-pro-${BUILDKITE_BUILD_NUMBER}.json --capture_tarball=trace-captures-pixel6-pro-${BUILDKITE_BUILD_NUMBER}.tgz --verbose build-host/"
if: "build.pull_request.id == null || (build.pull_request.labels includes 'buildkite:benchmark')"
agents:
@@ -70,10 +70,10 @@
- "git clean -fdx"
- "buildkite-agent artifact download --step Build benchmark-suites-${BUILDKITE_BUILD_NUMBER}.tgz ./"
- "buildkite-agent artifact download --step Build iree-android-tools-${BUILDKITE_BUILD_NUMBER}.tgz ./"
- - "wget https://storage.googleapis.com/iree-shared-files/tracy-capture-6998546f.tgz"
+ - "wget https://storage.googleapis.com/iree-shared-files/tracy-capture-80f6a93d.tgz"
- "tar -xzvf benchmark-suites-${BUILDKITE_BUILD_NUMBER}.tgz"
- "tar -xzvf iree-android-tools-${BUILDKITE_BUILD_NUMBER}.tgz"
- - "tar -xzvf tracy-capture-6998546f.tgz"
+ - "tar -xzvf tracy-capture-80f6a93d.tgz"
- "python3 build_tools/benchmarks/run_benchmarks_on_android.py --pin-cpu-freq --pin-gpu-freq --normal_benchmark_tool_dir=build-android/iree/tools/ --traced_benchmark_tool_dir=build-android-trace/iree/tools/ --trace_capture_tool=tracy-capture -o benchmark-results-galaxy-moto-edge-x30-${BUILDKITE_BUILD_NUMBER}.json --capture_tarball=trace-captures-galaxy-moto-edge-x30-${BUILDKITE_BUILD_NUMBER}.tgz --driver_filter_regex='vulkan' --verbose build-host/"
if: "build.pull_request.id == null || (build.pull_request.labels includes 'buildkite:benchmark')"
agents:
diff --git a/build_tools/third_party/tracy/CMakeLists.txt b/build_tools/third_party/tracy/CMakeLists.txt
index a140256..22700f1 100644
--- a/build_tools/third_party/tracy/CMakeLists.txt
+++ b/build_tools/third_party/tracy/CMakeLists.txt
@@ -33,6 +33,7 @@
freetype2
glfw3
gtk+-3.0
+ dbus-1
)
endif()
@@ -52,7 +53,7 @@
if(NOT TRACY_GTK_DEPS_FOUND)
message(STATUS
"Could not find deps required to build graphical programs: "
- "Tracy graphical profiler will not be built (on Ubuntu/Debian, 'apt install libglfw3-dev libfreetype-dev libgtk-3-dev')")
+ "Tracy graphical profiler will not be built (on Ubuntu/Debian, 'apt install libglfw3-dev libfreetype-dev libgtk-3-dev libdbus-1-dev')")
endif()
#-------------------------------------------------------------------------------
@@ -172,8 +173,7 @@
#-----------------------------------------------------------------------------
set(NFD_SOURCES
- ${TRACY_SOURCE_DIR}/nfd/nfd_common.c
- ${TRACY_SOURCE_DIR}/nfd/nfd_gtk.c
+ ${TRACY_SOURCE_DIR}/nfd/nfd_portal.cpp
)
add_library(IREETracyNFD
${NFD_SOURCES}
diff --git a/third_party/tracy b/third_party/tracy
index 6998546..80f6a93 160000
--- a/third_party/tracy
+++ b/third_party/tracy
@@ -1 +1 @@
-Subproject commit 6998546f27a6856aef821cb23030380573d2f0cd
+Subproject commit 80f6a93da79af94fc4604e37439f5a75d5e7dfbd