Skip to content

Conversation

@RonFed
Copy link
Contributor

@RonFed RonFed commented Feb 19, 2024

Following #649, since we are using the same file pointer, need to reset the offset after a failed attempt to find the pid. The current code will reach EOF the first time and will read from the same offset next time (which can cause a miss to find the target pid).

@RonFed RonFed changed the title Reset the /proc offset after a failed attempt to fiind pid Reset the /proc offset after a failed attempt to find pid Feb 19, 2024
@RonFed RonFed marked this pull request as ready for review February 19, 2024 08:33
@RonFed RonFed requested a review from a team February 19, 2024 08:33
@MrAlias MrAlias merged commit cf4ecc3 into open-telemetry:main Feb 20, 2024
@damemi damemi mentioned this pull request Mar 26, 2024
@MrAlias MrAlias added this to the v0.11.0-alpha milestone Mar 28, 2024
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.

4 participants