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

observe the python process and all of its forkees sending signals using killsnoop.bt #122

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dothebart
Copy link
Collaborator

No description provided.

@dothebart dothebart requested a review from KVS85 July 1, 2021 14:37
Copy link
Collaborator

@KVS85 KVS85 left a comment

Choose a reason for hiding this comment

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

See comment(s).

grep full_download_upgrade_test.py |\
sed "s;root *\([0-9]*\) .*;\1;")

sudo /usr/sbin/killsnoop.bt -p $PID > $(pwd)/test_dir/kill_snoop.txt
Copy link
Collaborator

Choose a reason for hiding this comment

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

Will it catch kill() inside docker container being launched outside?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes. --pid=host enables us to have meaningfull PIDs inside and outside the docker container.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

brendangregg/perf-tools#106 maybe somebody knows better than me.

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