diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2024-04-04 06:47:26 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-04-04 07:36:35 +0300 |
commit | 1e9e0b85255e6eca6036b59d8a5fbca6501905ac (patch) | |
tree | 0b90da08e9a36a61517c7e31b761e140234e82b7 /tools/perf/scripts/python/task-analyzer.py | |
parent | 519e1de94b719f741e0de42b085b9a4551c5b15c (diff) | |
download | linux-1e9e0b85255e6eca6036b59d8a5fbca6501905ac.tar.xz |
bpf: handle CONFIG_SMP=n configuration in x86 BPF JIT
On non-SMP systems, there is no "per-CPU" data, it's just global data.
So in such case just don't do this_cpu_off-based per-CPU address adjustment.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202404040951.d4CUx5S6-lkp@intel.com/
Fixes: 7bdbf7446305 ("bpf: add special internal-only MOV instruction to resolve per-CPU addrs")
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20240404034726.2766740-1-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