-
Notifications
You must be signed in to change notification settings - Fork 431
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
Add --syscalls option for tracing syscalls (linux only) #421
base: master
Are you sure you want to change the base?
Conversation
4fa5e97
to
4d6d859
Compare
Example output of top:
|
Nice! I had something similar in mind a while back - to add Also, I'm not sure it's useful unless you are in |
Yes, my first idea was to add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
Hey, @benfred, let me know if there is anything in this pull request that I should change if you are not happy with the current state. :D |
Hey, @benfred is there anything else I can do to have this merged? |
Hey, @benfred, maybe you missed my last message. Is there anything else I can do to have this merged? |
This commit adds a new option (--syscalls/-S) to trace what time your python programm spends in kernel space.
It is only supported on linux where current syscall can be determined using /proc/{pid}/task/{tid}/syscall.
--syscalls implies --idle