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: deprecate bpf_perf_event_read_simple() API #2344

Closed
wants to merge 2 commits into from

Commits on Jan 5, 2022

  1. adding ci files

    Nobody committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    5665ee6 View commit details
    Browse the repository at this point in the history
  2. libbpf: deprecate bpf_perf_event_read_simple() API

    With perf_buffer__poll() and perf_buffer__consume() APIs available,
    there is no reason to expose bpf_perf_event_read_simple() API to
    users. If users need custom perf buffer, they could re-implement
    the function.
    
    Mark bpf_perf_event_read_simple() and move the logic to a new
    static function so it can still be called by other functions in the
    same file.
    
    [0] Closes: libbpf/libbpf#310
    
    Signed-off-by: Christy Lee <christylee@fb.com>
    christycylee authored and Nobody committed Jan 5, 2022
    Configuration menu
    Copy the full SHA
    99decfb View commit details
    Browse the repository at this point in the history