]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf util: Make util its own library
authorIan Rogers <irogers@google.com>
Tue, 25 Jun 2024 21:41:15 +0000 (14:41 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 26 Jun 2024 18:07:42 +0000 (11:07 -0700)
commite467705a9fb37f51595aa6deaca085ccb4005454
tree97d5b0805d385f21e68e1d97fe3866074e30e9a1
parent21cc3bc00a68c1f4178feab1f89d1af3cfcfc84f
perf util: Make util its own library

Make the util directory into its own library. This is done to avoid
compiling code twice, once for the perf tool and once for the perf
python module. For convenience:
  arch/common.c
  scripts/perl/Perf-Trace-Util/Context.c
  scripts/python/Perf-Trace-Util/Context.c
are made part of this library.

Signed-off-by: Ian Rogers <irogers@google.com>
Reviewed-by: James Clark <james.clark@arm.com>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Nick Terrell <terrelln@fb.com>
Cc: Gary Guo <gary@garyguo.net>
Cc: Alex Gaynor <alex.gaynor@gmail.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Wedson Almeida Filho <wedsonaf@gmail.com>
Cc: Ze Gao <zegao2021@gmail.com>
Cc: Alice Ryhl <aliceryhl@google.com>
Cc: Andrei Vagin <avagin@google.com>
Cc: Yicong Yang <yangyicong@hisilicon.com>
Cc: Jonathan Cameron <jonathan.cameron@huawei.com>
Cc: Guo Ren <guoren@kernel.org>
Cc: Miguel Ojeda <ojeda@kernel.org>
Cc: Will Deacon <will@kernel.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Leo Yan <leo.yan@linux.dev>
Cc: Oliver Upton <oliver.upton@linux.dev>
Cc: John Garry <john.g.garry@oracle.com>
Cc: Benno Lossin <benno.lossin@proton.me>
Cc: Björn Roy Baron <bjorn3_gh@protonmail.com>
Cc: Andreas Hindborg <a.hindborg@samsung.com>
Cc: Paul Walmsley <paul.walmsley@sifive.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: https://lore.kernel.org/r/20240625214117.953777-7-irogers@google.com
36 files changed:
tools/perf/Build
tools/perf/Makefile.perf
tools/perf/arch/Build
tools/perf/arch/arm/Build
tools/perf/arch/arm/util/Build
tools/perf/arch/arm64/Build
tools/perf/arch/arm64/util/Build
tools/perf/arch/csky/Build
tools/perf/arch/csky/util/Build
tools/perf/arch/loongarch/Build
tools/perf/arch/loongarch/util/Build
tools/perf/arch/mips/Build
tools/perf/arch/mips/util/Build
tools/perf/arch/powerpc/Build
tools/perf/arch/powerpc/util/Build
tools/perf/arch/riscv/Build
tools/perf/arch/riscv/util/Build
tools/perf/arch/s390/Build
tools/perf/arch/s390/util/Build
tools/perf/arch/sh/Build
tools/perf/arch/sh/util/Build
tools/perf/arch/sparc/Build
tools/perf/arch/sparc/util/Build
tools/perf/arch/x86/Build
tools/perf/arch/x86/util/Build
tools/perf/arch/xtensa/Build
tools/perf/scripts/Build
tools/perf/scripts/perl/Perf-Trace-Util/Build
tools/perf/scripts/python/Perf-Trace-Util/Build
tools/perf/util/Build
tools/perf/util/arm-spe-decoder/Build
tools/perf/util/cs-etm-decoder/Build
tools/perf/util/hisi-ptt-decoder/Build
tools/perf/util/intel-pt-decoder/Build
tools/perf/util/perf-regs-arch/Build
tools/perf/util/scripting-engines/Build