perf python: Account for multiple words in CC
Khem Raj authored

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: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarKhem Raj <raj.khem@gmail.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Fangrui Song <maskray@google.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Keeping <john@metanate.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Sedat Dilek <sedat.dilek@gmail.com>
Link: https://lore.kernel.org/r/20221205025534.150006-1-raj.khem@gmail.com

Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
3cad53a6
Name Last commit Last update
Documentation Merge tag 'input-for-v6.1-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
LICENSES LICENSES/LGPL-2.1: Add LGPL-2.1-or-later as valid identifiers
arch Merge tag 'x86_urgent_for_v6.1_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
block Merge tag 'block-6.1-2022-11-18' of git://git.kernel.dk/linux
certs certs: make system keyring depend on built-in x509 parser
crypto treewide: use get_random_bytes() when possible
drivers Merge tag 'spi-fix-v6.1-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi
fs fscache: fix OOB Read in __fscache_acquire_volume
include fscache: fix OOB Read in __fscache_acquire_volume
init init: Kconfig: fix spelling mistake "satify" -> "satisfy"
io_uring io_uring: disallow self-propelled ring polling
ipc ipc/msg.c: fix percpu_counter use after free
kernel Merge tag 'trace-probes-v6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
lib maple_tree: don't set a new maximum on the node when not reusing nodes
mm Merge tag 'net-6.1-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
net Merge tag '9p-for-6.1-rc7' of https://github.com/martinetd/linux
rust Kbuild: add Rust support
samples Merge tag 'vfio-v6.1-rc1' of https://github.com/awilliam/linux-vfio
scripts kbuild: Restore .version auto-increment behaviour for Debian packages
security Merge tag 'lsm-pr-20221031' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/lsm
sound ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360
tools perf python: Account for multiple words in CC
usr usr/gen_init_cpio.c: remove unnecessary -1 values from int file
virt Merge tag 'kvmarm-fixes-6.1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
.clang-format PCI/DOE: Add DOE mailbox support functions
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.