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

Don't use setns for profiling docker containers #200

Merged
merged 1 commit into from
Nov 24, 2019
Merged

Don't use setns for profiling docker containers #200

merged 1 commit into from
Nov 24, 2019

Conversation

benfred
Copy link
Owner

@benfred benfred commented Nov 24, 2019

setns can't handle multithreaded programs, and using it to profile programs
running in docker wasn't working with the recent subprocesses change. Instead
read files from /proc/PID/root as suggested here https://jvns.ca/blog/2018/01/26/spy-container/

#199

setns can't handle multithreaded programs, and using it to profile programs
running in docker wasn't working with the recent subprocesses changee. Instead
read files from /proc/PID/root as suggested here
https://jvns.ca/blog/2018/01/26/spy-container/

#199
@benfred benfred merged commit e883181 into master Nov 24, 2019
@benfred benfred deleted the no_setns branch November 24, 2019 07:10
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.

1 participant