Skip to content
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

Cyclictests cleanup make work with new kernel #8

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rlrevell
Copy link

@rlrevell rlrevell commented Mar 2, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant