aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2023-12-14 17:30:27 -0800
committerAlexei Starovoitov <ast@kernel.org>2023-12-14 17:30:27 -0800
commit0f5d5454c723d5c729d4676860a390c31c466f50 (patch)
treed431629c4dcedb8f2d12df5d2ed64e96152d9855 /tools/perf/scripts/python/bin
parentMerge branch 'add-bpf_xdp_get_xfrm_state-kfunc' (diff)
parentselftests/bpf: utilize string values for delegate_xxx mount options (diff)
downloadlinux-0f5d5454c723d5c729d4676860a390c31c466f50.tar.gz
linux-0f5d5454c723d5c729d4676860a390c31c466f50.zip
Merge branch 'bpf-fs-mount-options-parsing-follow-ups'
Andrii Nakryiko says: ==================== BPF FS mount options parsing follow ups Original BPF token patch set ([0]) added delegate_xxx mount options which supported only special "any" value and hexadecimal bitmask. This patch set attempts to make specifying and inspecting these mount options more human-friendly by supporting string constants matching corresponding bpf_cmd, bpf_map_type, bpf_prog_type, and bpf_attach_type enumerators. This implementation relies on BTF information to find all supported symbolic names. If kernel wasn't built with BTF, BPF FS will still support "any" and hex-based mask. [0] https://patchwork.kernel.org/project/netdevbpf/list/?series=805707&state=* v1->v2: - strip BPF_, BPF_MAP_TYPE_, and BPF_PROG_TYPE_ prefixes, do case-insensitive comparison, normalize to lower case (Alexei). ==================== Link: https://lore.kernel.org/r/20231214225016.1209867-1-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions