9499e2f521
* 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
20 satır
788 B
CMake
20 satır
788 B
CMake
# -------------------------------------------------------------------------------------- #
|
|
#
|
|
# fork tests
|
|
#
|
|
# -------------------------------------------------------------------------------------- #
|
|
|
|
omnitrace_add_test(
|
|
NAME fork
|
|
TARGET fork-example
|
|
REWRITE_ARGS -e -v 2 --print-instrumented modules -i 16
|
|
RUNTIME_ARGS -e -v 1 --label file -i 16
|
|
ENVIRONMENT
|
|
"${_base_environment};OMNITRACE_SAMPLING_FREQ=250;OMNITRACE_SAMPLING_REALTIME=ON"
|
|
SAMPLING_PASS_REGEX "fork.. called on PID"
|
|
RUNTIME_PASS_REGEX "fork.. called on PID"
|
|
REWRITE_RUN_PASS_REGEX "fork.. called on PID"
|
|
SAMPLING_FAIL_REGEX "(${OMNITRACE_ABORT_FAIL_REGEX})"
|
|
RUNTIME_FAIL_REGEX "(${OMNITRACE_ABORT_FAIL_REGEX})"
|
|
REWRITE_RUN_FAIL_REGEX "(${OMNITRACE_ABORT_FAIL_REGEX})")
|