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

cpu: Take cgroupsv1 into account when reading misc.capacity #1265

Commits on Jul 19, 2023

  1. cpu: Take cgroupsv1 into account when reading misc.capacity

    We've been only considering cgroupsv2 when trying to read misc.capacity.
    However, there are still a bunch of systems out there relying on
    cgroupsv1.
    
    Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
    fidencio committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    8ed5a23 View commit details
    Browse the repository at this point in the history
  2. cpu: Add retrieveCgroupMiscCapacityValue() for legibility

    Let's refactor part of the getCgroupMiscCapacity() out to its own
    retrieveCgroupMiscCapacityValue(), for the legibility sake.
    
    Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
    fidencio committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    7532ac3 View commit details
    Browse the repository at this point in the history