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

util: Use bpf_trace_vprintk() directly in sample detection program #318

Merged
merged 1 commit into from
May 10, 2023

Commits on Apr 24, 2023

  1. util: Use bpf_trace_vprintk() directly in sample detection program

    The dummy program we use to feature detect for xdp-sample doesn't compile
    on old versions of libbpf that don't have the macro feature that selects
    bpf_trace_vprintk() if the number of args exceeds what bpf_trace_printk()
    supports. To get around this, just use the bpf_trace_vprintk() helper
    directly, which should hopefully work on old libbpf versions as well.
    
    Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
    tohojo committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    d82d3ad View commit details
    Browse the repository at this point in the history