diff options
author | Alan Maguire <[email protected]> | 2024-06-23 14:52:24 +0100 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-06-23 12:50:02 -0700 |
commit | 5a532459aa919d055d822d8db4ea2c5c8d511568 (patch) | |
tree | b5d96e2179b59d62a4a75d3b92e2b5c4dbcc4df5 /tools/perf/scripts/python/parallel-perf.py | |
parent | 04efaebd72d1d3d9991841051fafc6b195f3676d (diff) |
bpf: fix build when CONFIG_DEBUG_INFO_BTF[_MODULES] is undefined
Kernel test robot reports that kernel build fails with
resilient split BTF changes.
Examining the associated config and code we see that
btf_relocate_id() is defined under CONFIG_DEBUG_INFO_BTF_MODULES.
Moving it outside the #ifdef solves the issue.
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Alan Maguire <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions