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

Use epoll in BPFPerfBuffer #1053

Merged
merged 2 commits into from
Mar 21, 2017
Merged

Use epoll in BPFPerfBuffer #1053

merged 2 commits into from
Mar 21, 2017

Conversation

palmtenor
Copy link
Member

BPFPerfBuffer class already hold all perf_reader pointers and FDs, but still now in every loop of perf_reader_poll we need to re-construct an FD array. Using epoll from the class directly should avoid this.
This would also give the class more control over polling, if we want to add them in the future.

Tested using the RandomRead example.

@palmtenor
Copy link
Member Author

The build test seems failed on getting source code?

@drzaeus77
Copy link
Collaborator

[buildbot, test this please]

@drzaeus77 drzaeus77 merged commit aaab74e into iovisor:master Mar 21, 2017
@palmtenor palmtenor deleted the bufferepoll branch March 22, 2017 18:39
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.

None yet

2 participants