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

[process] Capture information about sched_ext #3867

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

jcastill
Copy link
Member

@jcastill jcastill commented Dec 9, 2024

Sched_ext is an extensible scheduler class which
allows a BPF program to hook into core scheduler
code paths to implement a custom scheduler.
This patch captures some initial information about sched_ext from sysfs.

Related: RHEL-70330


Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines

  • Is the commit message split over multiple lines and hard-wrapped at 72 characters?
  • Is the subject and message clear and concise?
  • Does the subject start with [plugin_name] if submitting a plugin patch or a [section_name] if part of the core sosreport code?
  • Does the commit contain a Signed-off-by: First Lastname [email protected]?
  • Are any related Issues or existing PRs properly referenced via a Closes (Issue) or Resolved (PR) line?
  • Are all passwords or private data gathered by this PR obfuscated?

Sched_ext is an extensible scheduler class which
allows a BPF program to hook into core scheduler
code paths to implement a custom scheduler.
This patch captures some initial information about
sched_ext from sysfs.

Related: RHEL-70330

Signed-off-by: Jose Castillo <[email protected]>
@jcastill jcastill added this to the 4.9.0 milestone Dec 9, 2024
@jcastill
Copy link
Member Author

jcastill commented Dec 9, 2024

WiP for now. This will be in kernel 6.12 and we'll need to capture this information as soon as is available.

Copy link

Congratulations! One of the builds has completed. 🍾

You can install the built RPMs by following these steps:

  • sudo yum install -y dnf-plugins-core on RHEL 8
  • sudo dnf install -y dnf-plugins-core on Fedora
  • dnf copr enable packit/sosreport-sos-3867
  • And now you can install the packages.

Please note that the RPMs should be used only in a testing environment.

@arif-ali
Copy link
Member

arif-ali commented Dec 9, 2024

You could probably still add it, sos does ignore files/folders that it doesn't see. So merging it before 4.9.0 shouldn't be a problem imho

@jcastill
Copy link
Member Author

jcastill commented Dec 9, 2024

True, I'm just reticent to do so because I haven't been able to test it yet.
If I manage to test linux-next before next week I'll move it out of draft PR.

@jcastill jcastill marked this pull request as ready for review December 10, 2024 09:48
@jcastill
Copy link
Member Author

Tested it in Ubuntu 24.04 and Fedora 41 with and without SCHED_CLASS_EXT=y and it works as expected, so moving this out of draft.

@arif-ali arif-ali added Reviewed/Needs 2nd Ack Require a 2nd ack from a maintainer Status/Needs Review This issue still needs a review from project members labels Dec 10, 2024
@arif-ali arif-ali modified the milestones: 4.9.0, 4.8.2 Dec 10, 2024
@arif-ali arif-ali merged commit f8fd50e into sosreport:main Dec 10, 2024
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Reviewed/Needs 2nd Ack Require a 2nd ack from a maintainer Status/Needs Review This issue still needs a review from project members
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants