diff options
| author | Khem Raj <[email protected]> | 2022-12-05 02:55:34 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-12-14 14:24:31 +0000 |
| commit | 3cad53a6f9cdbafa32ea8413809f23a28734c7c5 (patch) | |
| tree | 60feb9c8b3cfadb3f15e41746635ab0ebeef865b /tools/perf/scripts/python | |
| parent | perf off_cpu: Fix a typo in BTF tracepoint name, it should be 'btf_trace_sche... (diff) | |
| download | kernel-3cad53a6f9cdbafa32ea8413809f23a28734c7c5.tar.gz kernel-3cad53a6f9cdbafa32ea8413809f23a28734c7c5.zip | |
perf python: Account for multiple words in CC
Sometimes build systems may append options e.g. --sysroot etc. to CC
variable especially in cross-compile environments like yocto project
where CC varable is composed of cross-compiler name and some needed
options for it to work in a relocatable environment.
Therefore separate out the compiler name from rest of the options in CC,
then add the options via second argument to Popen() API
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Fangrui Song <[email protected]>
Cc: Florian Fainelli <[email protected]>
Cc: Ian Rogers <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: John Keeping <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Sedat Dilek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
