-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
two poll() per main loop iter. #779
Comments
Can you show how to reproduce this and your strace output? |
I have discovered it by running sudo strace ./opensnoop.py -p XXX on some application which does one open() syscall per sec, and I got two libbcc's poll() syscalls per one application's open(). I plan to investigate it in details it in one month but it will be excellent if somebody will have done it before. |
It doesn't repro for me (using HEAD on Ubuntu 14.04/4.6.0-040600rc2-generic):
In one window:
In another:
One |
Hm... Ok. Let's keep it open until I re-investigate it one-time more. PS: I used ubuntu 16.04 and libbcc actual at the begin of August. |
Currently we do two poll() syscalls per main loop iter with same args and result. I have have discovered it by using regular system strace. And it prevent me from reaching 1500000 syscalls per second.
I will be happy if somebody fixes it.
The text was updated successfully, but these errors were encountered: