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]
23 γραμμές
884 B
CMake
23 γραμμές
884 B
CMake
# ------------------------------------------------------------------------------#
|
|
#
|
|
# omnitrace-sample target
|
|
#
|
|
# ------------------------------------------------------------------------------#
|
|
|
|
add_executable(omnitrace-sample ${CMAKE_CURRENT_LIST_DIR}/omnitrace-sample.cpp
|
|
${CMAKE_CURRENT_LIST_DIR}/impl.cpp)
|
|
|
|
target_include_directories(omnitrace-sample PRIVATE ${CMAKE_CURRENT_LIST_DIR})
|
|
target_link_libraries(
|
|
omnitrace-sample
|
|
PRIVATE omnitrace::omnitrace-compile-definitions omnitrace::omnitrace-headers
|
|
omnitrace::omnitrace-common-library)
|
|
set_target_properties(
|
|
omnitrace-sample PROPERTIES BUILD_RPATH "\$ORIGIN:\$ORIGIN/../${CMAKE_INSTALL_LIBDIR}"
|
|
INSTALL_RPATH "${OMNITRACE_EXE_INSTALL_RPATH}")
|
|
|
|
install(
|
|
TARGETS omnitrace-sample
|
|
DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
OPTIONAL)
|