summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <andrii@kernel.org>2024-04-02 05:13:05 +0300
committerAlexei Starovoitov <ast@kernel.org>2024-04-03 20:29:56 +0300
commit0b56e637f705836b9aa51e2b1058c3c814c121a8 (patch)
treed854878120567fc94dbc26d31c8238caffe88c2a /tools/perf/scripts/python/task-analyzer.py
parentdb69718b8efac802c7cc20d5a6c7dfc913f99c43 (diff)
downloadlinux-0b56e637f705836b9aa51e2b1058c3c814c121a8.tar.xz
bpf: inline bpf_map_lookup_elem() helper for PERCPU_HASH map
Using new per-CPU BPF instruction, partially inline bpf_map_lookup_elem() helper for per-CPU hashmap BPF map. Just like for normal HASH map, we still generate a call into __htab_map_lookup_elem(), but after that we resolve per-CPU element address using a new instruction, saving on extra functions calls. Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/r/20240402021307.1012571-5-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions