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

libbpf: Expose API to consume one ring at a time #5401

Closed

Commits on Aug 11, 2023

  1. libbpf: Expose API to consume one ring at a time

    We already provide ring_buffer__epoll_fd to enable use of external
    polling systems. However, the only API available to consume the ring
    buffer is ring_buffer__consume, which always checks all rings. When
    polling for many events, this can be wasteful.
    
    Signed-off-by: Adam Sindelar <adam@wowsignal.io>
    Acked-by: Hou Tao <houtao1@huawei.com>
    the80srobot authored and Kernel Patches Daemon committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    f411c2f View commit details
    Browse the repository at this point in the history