diff options
| author | Andrii Nakryiko <[email protected]> | 2024-04-01 19:13:05 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-04-03 10:29:56 -0700 |
| commit | 0b56e637f705836b9aa51e2b1058c3c814c121a8 (patch) | |
| tree | d854878120567fc94dbc26d31c8238caffe88c2a /tools/perf/scripts/python | |
| parent | db69718b8efac802c7cc20d5a6c7dfc913f99c43 (diff) | |
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 <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions