Cyclictests cleanup make work with new kernel #8
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.
Hey, I had need for some RT testing utils recently, and found these somewhat bitrotted but still quite valuable. I got them to compile with a modern kernel and dropped support for everything else. These tracing tools have been around for 10-20 years, which should have been plenty of time to design an API around this stuff.
I then dealt with a bunch of GCC warnings, a few pedantries, as well as some potential buffer overflows. All of the utilities at least compile and run for 20-30 seconds without crashing. The testing gets sparser as you move away from cyclictest.
I have a few more RT primitives that I'd like to add coverage for, namely, using pthread synchronization primitives along with memlock()ed shared memory for IPC, and I discovered some cool RT-relevant things about how pthreads are implemented that I never had time to follow through on