• Alexei Starovoitov's avatar
    Revert "bpf: Add --skip_encoding_btf_inconsistent_proto, --btf_gen_optimized... · 1f5dfcc7
    Alexei Starovoitov authored
    Revert "bpf: Add --skip_encoding_btf_inconsistent_proto, --btf_gen_optimized to pahole flags for v1.25"
    
    This reverts commit 0243d3df.
    
    pahole 1.25 is too aggressive removing functions.
    With clang compiled kernel the following is seen:
    WARN: resolve_btfids: unresolved symbol tcp_reno_cong_avoid
    WARN: resolve_btfids: unresolved symbol dctcp_update_alpha
    WARN: resolve_btfids: unresolved symbol cubictcp_cong_avoid
    WARN: resolve_btfids: unresolved symbol bpf_xdp_metadata_rx_timestamp
    WARN: resolve_btfids: unresolved symbol bpf_xdp_metadata_rx_hash
    WARN: resolve_btfids: unresolved symbol bpf_task_kptr_get
    WARN: resolve_btfids: unresolved symbol bpf_task_acquire_not_zero
    WARN: resolve_btfids: unresolved symbol bpf_rdonly_cast
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_test_static_unused_arg
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_test_ref
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_test_pass_ctx
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_test_pass2
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_test_pass1
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_test_mem_len_pass1
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_test_mem_len_fail2
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_test_mem_len_fail1
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_test_kptr_get
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_test_fail3
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_test_fail2
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_test_acquire
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_test2
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_test1
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_memb_release
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_memb1_release
    WARN: resolve_btfids: unresolved symbol bpf_kfunc_call_int_mem_release
    Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
    1f5dfcc7
pahole-flags.sh 716 Bytes