ab551e7eb7
* Delete core critical-trace files
* Update docs and README
* Update workflows
* Update testing
* Update cmake
* Remove critical trace usage in source code
* Update source/docs/critical_trace.md
- fix spelling
* Formatting
* Update bin/omnitrace-avail/avail.cpp
- statically allocate shared pointers for timemory manager and hash id/aliases to prevent use-after-free errors
[ROCm/rocprofiler-systems commit: 9499e2f521]
32 lines
932 B
CMake
32 lines
932 B
CMake
# -------------------------------------------------------------------------------------- #
|
|
#
|
|
# User API tests
|
|
#
|
|
# -------------------------------------------------------------------------------------- #
|
|
|
|
omnitrace_add_test(
|
|
NAME user-api
|
|
TARGET user-api
|
|
LABELS "loops"
|
|
REWRITE_ARGS -e -v 2 -l --min-instructions=8 -E custom_push_region
|
|
RUNTIME_ARGS
|
|
-e
|
|
-v
|
|
1
|
|
-l
|
|
--min-instructions=8
|
|
-E
|
|
custom_push_region
|
|
--label
|
|
file
|
|
line
|
|
return
|
|
args
|
|
RUN_ARGS 10 ${NUM_THREADS} 1000
|
|
ENVIRONMENT "${_base_environment}"
|
|
REWRITE_RUN_PASS_REGEX "Pushing custom region :: run.10. x 1000"
|
|
RUNTIME_PASS_REGEX "Pushing custom region :: run.10. x 1000"
|
|
SAMPLING_PASS_REGEX "Pushing custom region :: run.10. x 1000"
|
|
BASELINE_FAIL_REGEX "Pushing custom region"
|
|
REWRITE_FAIL_REGEX "0 instrumented loops in procedure")
|