-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI timeout + line-info in releases #279
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- remove enable_perfetto_tools_trace_to_text (unused)
- requires OMNITRACE_CI=ON - requires OMNITRACE_CI_TIMEOUT=<sec> - adds pthread_self and std::this_thread::get_id to thread info - pthread_create_gotcha stores native handles (pthread_self)
- improve detection of segfault/failures with PASS_REGEX exists - add OMNITRACE_CI_TIMEOUT env variable to all tests
- e.g. -g1 + more options to minimize size of debug info
- link to threads library
- in ROCm 5.5.0, cannot include rocprofiler.h and roctracer.h in same file due to conflicting enum defs - Moved HSA tracing setup/shutdown to component::roctracer
- fix definition of roctracer::setup when disabled
- detach threads on main PID - flush io outputs when printing info
- pass regular expressions - overflow on PERF_COUNT_SW_CPU_CLOCK event
- use getpid() instead of getppid()
- wait on threads calling fork
- wait on timeout thread to launch before proceeding
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
cmake
Modifies the CMake build system
continuous-integration
Updates to continuous integration
libomnitrace
Involves omnitrace library
libomnitrace-core
Internal library containing core capabilities
submodule
Updates a git submodule
testing
Extends/improves/modifies testing
timemory
Issue affects/involves timemory features/capabilities
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
OMNITRACE_CI=ON
+OMNITRACE_CI_TIMEOUT=<seconds>
will create a background thread that will send a signal to each thread so that it prints a backtrace and then terminate the applicationPASS_REGULAR_EXPRESSION
PASS_REGULAR_EXPRESSION
will ignore a non-zero exit code if the passing regular expression is foundOMNITRACE_UNLIKELY
to ensure their instructions are not in the hot path