diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2024-04-02 05:13:03 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-04-03 20:29:56 +0300 |
commit | 1ae6921009e5d72787e07ccc04754514ccf6bc99 (patch) | |
tree | 1ef59b0a783c0ac47d1ba63d5aaa3c932ec9dcd5 /tools/perf/scripts/python/task-analyzer.py | |
parent | 7bdbf7446305cb65c510c16d57cde82bc76b234a (diff) | |
download | linux-1ae6921009e5d72787e07ccc04754514ccf6bc99.tar.xz |
bpf: inline bpf_get_smp_processor_id() helper
If BPF JIT supports per-CPU MOV instruction, inline bpf_get_smp_processor_id()
to eliminate unnecessary function 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-3-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