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

Fix pid of switched task to update metrics correctly #1370

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

tiwatsuka
Copy link
Contributor

In kepler.bpf.c, process metrics are updated when finish task switch. However, the PID of switched task seems to be obtained incorrectly. It prevents update metrics if the task's PID and TGID are different.

This PR fixes the above problem.

Signed-off-by: Takuya Iwatsuka <takuya.iwatsuka@gmail.com>
@rootfs rootfs merged commit 593589a into sustainable-computing-io:main Apr 19, 2024
18 checks passed
@tiwatsuka tiwatsuka deleted the fix-bpf branch April 22, 2024 14:20
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.

2 participants