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

Keep working with PID#1 #57

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Keep working with PID#1 #57

merged 1 commit into from
Jan 16, 2025

Conversation

steelman
Copy link

Do not skip the first sample for PID#1

The continue statement was introduced very early with commit 5da71e1 in the original reposiotory before bootchart was merged into systemd, when there was little code at the end of the while loop and apparently skipping it didn't hurt. Specifically commit 9b004a7 introduces still_runnig flag which is never set for PID#1 which makes it subject to garbage collection in garbage_collect_dead_processes().

Do not skip the first sample for PID#1

The continue statement was introduced very early with commit 5da71e1
in the original reposiotory before bootchart was merged into systemd,
when there was little code at the end of the while loop and apparently
skipping it didn't hurt. Specifically commit 9b004a7 introduces
still_runnig flag which is never set for PID#1 which makes it subject
to garbage collection in garbage_collect_dead_processes().
@bluca bluca merged commit a15bcaf into systemd:main Jan 16, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants