Skip to content

Instantly share code, notes, and snippets.

@eklitzke
Created March 4, 2017 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eklitzke/e84dc1993fc0a81bb8311268357d335f to your computer and use it in GitHub Desktop.
Save eklitzke/e84dc1993fc0a81bb8311268357d335f to your computer and use it in GitHub Desktop.
output for regular jessie
evan@jessie:~/pyflame$ sudo ./src/pyflame -s 0 844
Before PTRACE_ATTACH:
844 (python) S 761 844 761 34817 844 1077944320 907 0 12 0 1158 342 0 0 20 0 3 0 3155 175140864 1696 18446744073709551615 4194304 7461796 140733648244832 140733648241760 140658028277776 0 0 16781312 2 0 0 0 17 2 0 0 1 0 0 9559488 10071156 19984384 140733648246975 140733648247008 140733648247008 140733648248808 0
After PTRACE_ATTACH, before wait():
844 (python) R 761 844 761 34817 844 1077944320 907 0 12 0 1158 342 0 0 20 0 3 0 3155 175140864 1696 18446744073709551615 4194304 7461796 140733648244832 140733648241760 140658028277776 262144 0 16781312 2 0 0 0 17 2 0 0 1 0 0 9559488 10071156 19984384 140733648246975 140733648247008 140733648247008 140733648248808 0
After wait():
844 (python) t 761 844 761 34817 844 1077944320 907 0 12 0 1158 342 0 0 20 0 3 0 3155 175140864 1696 18446744073709551615 4194304 7461796 140733648244832 140733648241760 140658028277776 0 0 16781312 2 0 0 0 17 2 0 0 1 0 0 9559488 10071156 19984384 140733648246975 140733648247008 140733648247008 140733648248808 0
status is 4991
done attach
Before PTRACE_ATTACH:
845 (python) S 761 844 761 34817 844 4202560 907 0 12 0 1158 342 0 0 20 0 3 0 3159 175140864 1696 18446744073709551615 4194304 7461796 140733648244832 140658013176944 140658015717523 0 0 16781312 2 0 0 0 -1 3 0 0 0 0 0 9559488 10071156 19984384 140733648246975 140733648247008 140733648247008 140733648248808 0
After PTRACE_ATTACH, before wait():
845 (python) R 761 844 761 34817 844 4202560 907 0 12 0 1158 342 0 0 20 0 3 0 3159 175140864 1696 18446744073709551615 4194304 7461796 140733648244832 140658013176944 140658015717523 262144 0 16781312 2 0 0 0 -1 3 0 0 0 0 0 9559488 10071156 19984384 140733648246975 140733648247008 140733648247008 140733648248808 0
After wait():
845 (python) t 761 844 761 34817 844 1077944384 907 0 12 0 1158 342 0 0 20 0 3 0 3159 175140864 1696 18446744073709551615 4194304 7461796 140733648244832 140658013176944 140658015717523 0 0 16781312 2 0 0 0 -1 3 0 0 0 0 0 9559488 10071156 19984384 140733648246975 140733648247008 140733648247008 140733648248808 0
status is 4991
done attach
Before PTRACE_ATTACH:
846 (python) S 761 844 761 34817 844 4202560 907 0 12 0 1158 342 0 0 20 0 3 0 3159 175140864 1696 18446744073709551615 4194304 7461796 140733648244832 140658004784240 140658015717523 0 0 16781312 2 0 0 0 -1 0 0 0 0 0 0 9559488 10071156 19984384 140733648246975 140733648247008 140733648247008 140733648248808 0
After PTRACE_ATTACH, before wait():
846 (python) R 761 844 761 34817 844 4202560 907 0 12 0 1158 342 0 0 20 0 3 0 3159 175140864 1696 18446744073709551615 4194304 7461796 140733648244832 140658004784240 140658015717523 262144 0 16781312 2 0 0 0 -1 0 0 0 0 0 0 9559488 10071156 19984384 140733648246975 140733648247008 140733648247008 140733648248808 0
After wait():
846 (python) t 761 844 761 34817 844 1077944384 907 0 12 0 1158 342 0 0 20 0 3 0 3159 175140864 1696 18446744073709551615 4194304 7461796 140733648244832 140658004784240 140658015717523 0 0 16781312 2 0 0 0 -1 1 0 0 0 0 0 9559488 10071156 19984384 140733648246975 140733648247008 140733648247008 140733648248808 0
status is 4991
done attach
/usr/lib/python2.7/threading.py:_exitfunc:1107;/usr/lib/python2.7/threading.py:join:949;/usr/lib/python2.7/threading.py:wait:340 1
/usr/lib/python2.7/threading.py:__bootstrap:783;/usr/lib/python2.7/threading.py:__bootstrap_inner:810;/usr/lib/python2.7/threading.py:run:763;tests/threaded_sleeper.py:sleep_a:30;tests/threaded_sleeper.py:do_sleep:23 1
/usr/lib/python2.7/threading.py:__bootstrap:783;/usr/lib/python2.7/threading.py:__bootstrap_inner:810;/usr/lib/python2.7/threading.py:run:763;tests/threaded_sleeper.py:sleep_b:34;tests/threaded_sleeper.py:do_sleep:23 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment