Skip to content

Fix parsing of cgroupv2 cpu.stat#431

Merged
mtrmac merged 1 commit into
podman-container-tools:mainfrom
mtrmac:cgroup-usage
Nov 3, 2025
Merged

Fix parsing of cgroupv2 cpu.stat#431
mtrmac merged 1 commit into
podman-container-tools:mainfrom
mtrmac:cgroup-usage

Conversation

@mtrmac

@mtrmac mtrmac commented Oct 31, 2025

Copy link
Copy Markdown
Contributor

Unit-conver the value we read, not the other one.

In theory, this should not make a difference because both values are expected to be always present.

(Found by Cursor during unrelated cleanups.)

@giuseppe @lsm5 PTAL

@github-actions github-actions Bot added the common Related to "common" package label Oct 31, 2025
podmanbot pushed a commit to podmanbot/buildah that referenced this pull request Oct 31, 2025
@podmanbot

Copy link
Copy Markdown

✅ A new PR has been created in buildah to vendor these changes: podman-container-tools/buildah#6466

@giuseppe giuseppe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lsm5 lsm5 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

LGTM (not a maintainer).

Unit-conver the value we read, not the other one.

In theory, this should not make a difference because both
values are expected to be always present.

(Found by Cursor during unrelated cleanups.)

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
podmanbot pushed a commit to podmanbot/buildah that referenced this pull request Nov 3, 2025
@mtrmac mtrmac merged commit bf349ae into podman-container-tools:main Nov 3, 2025
18 checks passed
@mtrmac mtrmac deleted the cgroup-usage branch November 3, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to "common" package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants