8760fb4976
* attach: Formalize ROCAttach API - Make ROCAttach public with public headers - Change detach to take a PID - attach and detach are now reentrant - Cleanup of states and signal handling in ptrace session - Fixes mixed up definition of ROCPROF_ATTACH_TOOL_LIBRARY - ROCPROF_ATTACH_TOOL_LIBRARY now always means the tool library loaded by the attachment target - ROCPROF_ATTACH_LIBRARY refers to the library used to perform attachment - Add direct call of rocprof-attach - Fix python library call of rocprof-attach - Function now named attach(), changed from main() * attach: rocprof-compute ROCAttach updates - Update to new library names - Correct usage of C lib detach * attach: add test for rocattach - Disable ASan, TSan, and UBSan for the new parallel-attach test - Lower log level for LSan tests, existing behavior from other tests --------- Co-authored-by: Ammar ELWazir <aelwazir@amd.com>
19 lines
446 B
CMake
19 lines
446 B
CMake
#
|
|
#
|
|
# Installation of public headers
|
|
#
|
|
#
|
|
configure_file(${CMAKE_CURRENT_LIST_DIR}/version.h.in
|
|
${CMAKE_CURRENT_BINARY_DIR}/version.h @ONLY)
|
|
|
|
set(ROCATTACH_HEADER_FILES
|
|
# core headers
|
|
rocattach.h
|
|
# secondary headers
|
|
defines.h types.h ${CMAKE_CURRENT_BINARY_DIR}/version.h)
|
|
|
|
install(
|
|
FILES ${ROCATTACH_HEADER_FILES}
|
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rocprofiler-sdk-rocattach
|
|
COMPONENT rocattach)
|