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:03 +0300
committerAlexei Starovoitov <ast@kernel.org>2024-04-03 20:29:56 +0300
commit1ae6921009e5d72787e07ccc04754514ccf6bc99 (patch)
tree1ef59b0a783c0ac47d1ba63d5aaa3c932ec9dcd5 /tools/perf/scripts/python/task-analyzer.py
parent7bdbf7446305cb65c510c16d57cde82bc76b234a (diff)
downloadlinux-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