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

bpf: Check CONFIG_BPF option for resolve_btfids #101

Closed
wants to merge 3 commits into from

Commits on Sep 23, 2020

  1. adding ci files

    kernel-patches-bot committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    318343d View commit details
    Browse the repository at this point in the history
  2. bpf: Check CONFIG_BPF option for resolve_btfids

    Currently all the resolve_btfids 'users' are under CONFIG_BPF
    code, so if we have CONFIG_BPF disabled, resolve_btfids will
    fail, because there's no data to resolve.
    
    Disabling resolve_btfids if there's CONFIG_BPF disabled,
    so we won't fail such builds.
    
    Suggested-by: Andrii Nakryiko <andriin@fb.com>
    Acked-by: Andrii Nakryiko <andriin@fb.com>
    Signed-off-by: Jiri Olsa <jolsa@kernel.org>
    olsajiri authored and kernel-patches-bot committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    fd4a751 View commit details
    Browse the repository at this point in the history
  3. tools resolve_btfids: Always force HOSTARCH

    Seth reported problem with cross builds, that fail
    on resolve_btfids build, because we are trying to
    build it on cross build arch.
    
    Fixing this by always forcing the host arch.
    
    Reported-by: Seth Forshee <seth.forshee@canonical.com>
    Acked-by: Andrii Nakryiko <andriin@fb.com>
    Signed-off-by: Jiri Olsa <jolsa@kernel.org>
    olsajiri authored and kernel-patches-bot committed Sep 23, 2020
    Configuration menu
    Copy the full SHA
    84e0138 View commit details
    Browse the repository at this point in the history