2e7d0b3aec
* rocprofv3: LD_PRELOAD for signal and sigaction
- wrappers around `signal` and `sigaction` to prevent applications which install signal handlers to replace the rocprofv3 signal handlers
- minor tweaks to buffer sizes (use page_size instead of
KiB)
* [DO NOT COMMIT] extra logging
* Switch git submodule url for perfetto
- use GitHub URL as this is more accessible
* Update ring_buffer<Tp>
- account for alignment padding
* Update buffered_output
- track number of bytes stored
- add nullptr checks
* Update tmp_file_buffer
- track number of bytes
- read_tmp_file does not create tmp file if it does not already exist
* Update tmp_file
- add exists member function for checking whether temporary file already exists
- tweak remove() implementation
* Update config.hpp
- add option to enable/disable signal handlers
- add option for minimum_output_bytes
* Make signal, sigaction functions visible
* rocprofv3 tool updates
- chained signals
- override the signal handler(s) installed by the application
- improve cleanup of temporary files
- support minimum output bytes
* Add commandline support
* fixing test
* minor fix
* minor fix
* fix clang issue
* fix
* Adding docs
* review comments
* review changes
* review
* YUV pulldown additions to rocdecode
* More rocdecode changes
---------
Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
Co-authored-by: Jonathan R. Madsen <Jonathan.Madsen@amd.com>
Co-authored-by: Benjamin Welton <bewelton@amd.com>
[ROCm/rocprofiler-sdk commit: 87badfbd15]
48 lines
1.2 KiB
CMake
48 lines
1.2 KiB
CMake
#
|
|
#
|
|
#
|
|
cmake_minimum_required(VERSION 3.21.0 FATAL_ERROR)
|
|
|
|
project(rocprofiler-rocprofv3-tests LANGUAGES C CXX)
|
|
|
|
set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "tests")
|
|
|
|
if(NOT CMAKE_BUILD_TYPE)
|
|
set(CMAKE_BUILD_TYPE
|
|
"Release"
|
|
CACHE STRING "" FORCE)
|
|
endif()
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
set(CMAKE_HIP_STANDARD 17)
|
|
set(CMAKE_HIP_EXTENSIONS OFF)
|
|
set(CMAKE_HIP_STANDARD_REQUIRED ON)
|
|
|
|
enable_testing()
|
|
include(CTest)
|
|
|
|
add_subdirectory(tracing)
|
|
add_subdirectory(tracing-plus-counter-collection)
|
|
add_subdirectory(tracing-hip-in-libraries)
|
|
add_subdirectory(counter-collection)
|
|
add_subdirectory(hsa-queue-dependency)
|
|
add_subdirectory(kernel-rename)
|
|
add_subdirectory(memory-allocation)
|
|
add_subdirectory(aborted-app)
|
|
add_subdirectory(summary)
|
|
add_subdirectory(roctracer-roctx)
|
|
add_subdirectory(scratch-memory)
|
|
add_subdirectory(pc-sampling)
|
|
add_subdirectory(collection-period)
|
|
add_subdirectory(rocdecode-trace)
|
|
add_subdirectory(rocjpeg-trace)
|
|
if(TARGET att_decoder_testing1)
|
|
add_subdirectory(advanced-thread-trace)
|
|
endif()
|
|
add_subdirectory(hip-stream-display)
|
|
add_subdirectory(agent-index)
|
|
add_subdirectory(negate-aggregate-tracing-options)
|
|
add_subdirectory(minimum-bytes)
|