diff options
| author | Andrii Nakryiko <[email protected]> | 2024-04-01 19:13:03 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-04-03 10:29:56 -0700 |
| commit | 1ae6921009e5d72787e07ccc04754514ccf6bc99 (patch) | |
| tree | 1ef59b0a783c0ac47d1ba63d5aaa3c932ec9dcd5 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 7bdbf7446305cb65c510c16d57cde82bc76b234a (diff) | |
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 <[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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions