5973299ccd
- `omnitrace-sample` executable which executes sampling (no
instrumentation)
- fixes bug with OMPT ignoring value of `OMNITRACE_USE_OMPT`
- fixes some issues with sampling duration
- new `OMNITRACE_SAMPLING_INCLUDE_INLINES` configuration variable
- restricts process-sampling to 100 interrupts/sec when inheriting value
from `OMNITRACE_SAMPLING_FREQ`
- `OMNITRACE_PROCESS_SAMPLING_FREQ` still supports up to 1000
interrupts/sec
- fixes bug with colorized log not truly being disabled in all instances
- adds tests for `omnitrace-sample`
- adds tests for sampling duration
- settings ROCP_TOOL_LIB to libomnitrace-dl throws error
- rocprofiler does not configure correctly when this is done
- Quiet numa_gotcha warnings
- Fixed some shadowed variables
[ROCm/rocprofiler-systems commit: 79a8f16646]
25 라인
770 B
CMake
25 라인
770 B
CMake
# executable RPATH
|
|
|
|
if(OMNITRACE_USE_ROCPROFILER
|
|
AND rocprofiler_LIBRARY_DIR
|
|
AND ROCmVersion_TRIPLE_VERSION VERSION_LESS 5.2.0
|
|
AND NOT CMAKE_INSTALL_RPATH_USE_LINK_PATH)
|
|
set(OMNITRACE_EXE_INSTALL_RPATH
|
|
"\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}:\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}/omnitrace:${rocprofiler_LIBRARY_DIR}"
|
|
)
|
|
else()
|
|
set(OMNITRACE_EXE_INSTALL_RPATH
|
|
"\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}:\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}/omnitrace"
|
|
)
|
|
endif()
|
|
|
|
# executables
|
|
add_subdirectory(omnitrace-avail)
|
|
add_subdirectory(omnitrace-critical-trace)
|
|
add_subdirectory(omnitrace-sample)
|
|
add_subdirectory(omnitrace)
|
|
|
|
if(OMNITRACE_BUILD_TESTING OR "$ENV{OMNITRACE_CI}" MATCHES "[1-9]+|ON|on|y|yes")
|
|
add_subdirectory(tests)
|
|
endif()
|