aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJoel Fernandes <[email protected]>2017-09-20 09:11:57 -0700
committerDavid S. Miller <[email protected]>2017-09-21 11:59:16 -0700
commit876e88e3273e300895e308bd660c6cfaabb03cd5 (patch)
tree8872934ddc072a92c589cdbe1199bd0b1c7d944d /tools/perf/scripts/python
parent95ec66968571bf0af0a22effdc1b9d9e62ea6630 (diff)
samples/bpf: Enable cross compiler support
When cross compiling, bpf samples use HOSTCC for compiling the non-BPF part of the sample, however what we really want is to use the cross compiler to build for the cross target since that is what will load and run the BPF sample. Detect this and compile samples correctly. Acked-by: Alexei Starovoitov <[email protected]> Signed-off-by: Joel Fernandes <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions