mirror of
https://github.com/raspberrypi/linux.git
synced 2026-01-03 08:14:12 +00:00
In Makefile.config for unwinding the name dwarf implies either libunwind or libdw. Make it clearer that HAVE_DWARF_SUPPORT is really just defined when libdw is present by renaming to HAVE_LIBDW_SUPPORT. Signed-off-by: Ian Rogers <irogers@google.com> Acked-by: Namhyung Kim <namhyung@kernel.org> Tested-by: Leo Yan <leo.yan@arm.com> Cc: Anup Patel <anup@brainfault.org> Cc: Yang Jihong <yangjihong@bytedance.com> Cc: Palmer Dabbelt <palmer@dabbelt.com> Cc: David S. Miller <davem@davemloft.net> Cc: Albert Ou <aou@eecs.berkeley.edu> Cc: Shenlin Liang <liangshenlin@eswincomputing.com> Cc: Nick Terrell <terrelln@fb.com> Cc: Guilherme Amadio <amadio@gentoo.org> Cc: Steinar H. Gunderson <sesse@google.com> Cc: Changbin Du <changbin.du@huawei.com> Cc: Alexander Lobakin <aleksander.lobakin@intel.com> Cc: Przemek Kitszel <przemyslaw.kitszel@intel.com> Cc: Huacai Chen <chenhuacai@kernel.org> Cc: Guo Ren <guoren@kernel.org> Cc: Masahiro Yamada <masahiroy@kernel.org> Cc: Masami Hiramatsu (Google) <mhiramat@kernel.org> Cc: Will Deacon <will@kernel.org> Cc: James Clark <james.clark@linaro.org> Cc: Mike Leach <mike.leach@linaro.org> Cc: Chen Pei <cp0613@linux.alibaba.com> Cc: Leo Yan <leo.yan@linux.dev> Cc: Oliver Upton <oliver.upton@linux.dev> Cc: Aditya Gupta <adityag@linux.ibm.com> Cc: Kajol Jain <kjain@linux.ibm.com> Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-riscv@lists.infradead.org Cc: Bibo Mao <maobibo@loongson.cn> Cc: John Garry <john.g.garry@oracle.com> Cc: Atish Patra <atishp@rivosinc.com> Cc: Dima Kogan <dima@secretsauce.net> Cc: Paul Walmsley <paul.walmsley@sifive.com> Cc: Dr. David Alan Gilbert <linux@treblig.org> Cc: linux-csky@vger.kernel.org Link: https://lore.kernel.org/r/20241017001354.56973-11-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
83 lines
3.3 KiB
Plaintext
83 lines
3.3 KiB
Plaintext
perf-check(1)
|
|
===============
|
|
|
|
NAME
|
|
----
|
|
perf-check - check if features are present in perf
|
|
|
|
SYNOPSIS
|
|
--------
|
|
[verse]
|
|
'perf check' [<options>]
|
|
'perf check' {feature <feature_list>} [<options>]
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
With no subcommands given, 'perf check' command just prints the command
|
|
usage on the standard output.
|
|
|
|
If the subcommand 'feature' is used, then status of feature is printed
|
|
on the standard output (unless '-q' is also passed), ie. whether it is
|
|
compiled-in/built-in or not.
|
|
Also, 'perf check feature' returns with exit status 0 if the feature
|
|
is built-in, otherwise returns with exit status 1.
|
|
|
|
SUBCOMMANDS
|
|
-----------
|
|
|
|
feature::
|
|
|
|
Print whether feature(s) is compiled-in or not, and also returns with an
|
|
exit status of 0, if passed feature(s) are compiled-in, else 1.
|
|
|
|
It expects a feature list as an argument. There can be a single feature
|
|
name/macro, or multiple features can also be passed as a comma-separated
|
|
list, in which case the exit status will be 0 only if all of the passed
|
|
features are compiled-in.
|
|
|
|
The feature names/macros are case-insensitive.
|
|
|
|
Example Usage:
|
|
perf check feature libtraceevent
|
|
perf check feature HAVE_LIBTRACEEVENT
|
|
perf check feature libtraceevent,bpf
|
|
|
|
Supported feature names/macro:
|
|
aio / HAVE_AIO_SUPPORT
|
|
bpf / HAVE_LIBBPF_SUPPORT
|
|
bpf_skeletons / HAVE_BPF_SKEL
|
|
debuginfod / HAVE_DEBUGINFOD_SUPPORT
|
|
dwarf / HAVE_LIBDW_SUPPORT
|
|
dwarf_getlocations / HAVE_LIBDW_SUPPORT
|
|
dwarf-unwind / HAVE_DWARF_UNWIND_SUPPORT
|
|
auxtrace / HAVE_AUXTRACE_SUPPORT
|
|
libaudit / HAVE_LIBAUDIT_SUPPORT
|
|
libbfd / HAVE_LIBBFD_SUPPORT
|
|
libcapstone / HAVE_LIBCAPSTONE_SUPPORT
|
|
libcrypto / HAVE_LIBCRYPTO_SUPPORT
|
|
libdw-dwarf-unwind / HAVE_LIBDW_SUPPORT
|
|
libelf / HAVE_LIBELF_SUPPORT
|
|
libnuma / HAVE_LIBNUMA_SUPPORT
|
|
libopencsd / HAVE_CSTRACE_SUPPORT
|
|
libperl / HAVE_LIBPERL_SUPPORT
|
|
libpfm4 / HAVE_LIBPFM
|
|
libpython / HAVE_LIBPYTHON_SUPPORT
|
|
libslang / HAVE_SLANG_SUPPORT
|
|
libtraceevent / HAVE_LIBTRACEEVENT
|
|
libunwind / HAVE_LIBUNWIND_SUPPORT
|
|
lzma / HAVE_LZMA_SUPPORT
|
|
numa_num_possible_cpus / HAVE_LIBNUMA_SUPPORT
|
|
syscall_table / HAVE_SYSCALL_TABLE_SUPPORT
|
|
zlib / HAVE_ZLIB_SUPPORT
|
|
zstd / HAVE_ZSTD_SUPPORT
|
|
|
|
OPTIONS
|
|
-------
|
|
-q::
|
|
--quiet::
|
|
Do not print any messages or warnings
|
|
|
|
This can be used along with subcommands such as 'perf check feature'
|
|
to hide unnecessary output in test scripts, eg.
|
|
'perf check feature --quiet libtraceevent'
|