aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_lib.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2024-05-31 19:45:00 +0000
committerAlexei Starovoitov <[email protected]>2024-05-31 21:54:48 +0000
commitaeb8fe0283d4d3b0f27a87c5f5c938e7324f7d8f (patch)
tree201b1e04eaab996d844cc22683aecb263ef35d75 /drivers/net/ethernet/intel/ice/ice_lib.c
parentselftests/bpf: fix inet_csk_accept prototype in test_sk_storage_tracing.c (diff)
downloadkernel-aeb8fe0283d4d3b0f27a87c5f5c938e7324f7d8f.tar.gz
kernel-aeb8fe0283d4d3b0f27a87c5f5c938e7324f7d8f.zip
bpf: Fix bpf_session_cookie BTF_ID in special_kfunc_set list
The bpf_session_cookie is unavailable for !CONFIG_FPROBE as reported by Sebastian [1]. To fix that we remove CONFIG_FPROBE ifdef for session kfuncs, which is fine, because there's filter for session programs. Then based on bpf_trace.o dependency: obj-$(CONFIG_BPF_EVENTS) += bpf_trace.o we add bpf_session_cookie BTF_ID in special_kfunc_set list dependency on CONFIG_BPF_EVENTS. [1] https://lore.kernel.org/bpf/[email protected]/T/#m71c6d5ec71db2967288cb79acedc15cc5dbfeec5 Reported-by: Sebastian Andrzej Siewior <[email protected]> Tested-by: Sebastian Andrzej Siewior <[email protected]> Suggested-by: Alexei Starovoitov <[email protected]> Fixes: 5c919acef8514 ("bpf: Add support for kprobe session cookie") Signed-off-by: Jiri Olsa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
0 files changed, 0 insertions, 0 deletions