diff options
| author | Ilya Leoshkevich <[email protected]> | 2020-07-17 16:53:22 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-07-21 20:26:24 +0000 |
| commit | 2ea485980734500d41e4530f038d94a21e2b3b34 (patch) | |
| tree | 3051386c5188058fb0ee510225864c8b62daee54 /tools/lib/bpf/bpf_helpers.h | |
| parent | bpf: cpumap: Fix possible rcpu kthread hung (diff) | |
| download | kernel-2ea485980734500d41e4530f038d94a21e2b3b34.tar.gz kernel-2ea485980734500d41e4530f038d94a21e2b3b34.zip | |
selftests: bpf: test_kmod.sh: Fix running out of srctree
When running out of srctree, relative path to lib/test_bpf.ko is
different than when running in srctree. Check $building_out_of_srctree
environment variable and use a different relative path if needed.
Signed-off-by: Ilya Leoshkevich <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions
