Files
CMake/Tests/RunCMake/Instrumentation/check-trace-removed.cmake
Tyler Yankee bf52fbfbc4 instrumentation: Add Google trace output
Add a feature to parse snippets into a trace file compatible with the
Google Trace Event Format.

Fixes: #26674
2025-09-03 15:24:10 -04:00

12 lines
317 B
CMake

include(${CMAKE_CURRENT_LIST_DIR}/json.cmake)
if (NOT IS_DIRECTORY "${v1}/data/trace")
add_error("Trace directory ${v1}/data/trace does not exist.")
endif()
file(GLOB trace_files ${v1}/data/trace/*)
list(LENGTH trace_files num)
if (NOT ${num} EQUAL 1)
add_error("Found ${num} trace files, expected 1.")
endif()