-
Notifications
You must be signed in to change notification settings - Fork 104
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
[scx-layered] add matcher for when tid is pid #1200
Comments
@valentinandrei @htejun @hodgesds does this sound reasonable? |
Is that different than the PPIDEquals/TGIDEquals match? I think we have most things covered in terms of matches. |
This is for filtering threads to those where TGID=PID. My thinking is we can have a config like the following:
Unless I'm missing something, using what we have now, we would need to specify TGID/PID manually. Edit: scx/scheds/rust/scx_layered/src/bpf/main.bpf.c Lines 1740 to 1741 in 4ab8f4b
is close but I think that isn't exactly what we want. |
#1204 is an attempt at this. I think this is needed in addition to In any event, this would do what we expect (get the current group leader thread) regardless of any such nuance. |
add a matcher for when tid is equal to pid, to enable filtering tasks by this
The text was updated successfully, but these errors were encountered: