aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Maguire <alan.maguire@oracle.com>2024-04-30 10:55:01 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2024-04-30 11:39:37 -0300
commitd5847615d0a5c082b1d61bdefc4683109c49de67 (patch)
tree0e9fafdaf61dc4ad3381607b48b9836da2093843
parent912a8e3f3d19fa76405ddcbb687f8eab9c9afb62 (diff)
downloaddwarves-upstream-master.tar.gz
pahole: Describe expected use of 'default' in the man pageupstream-master
the 'default' --btf_features option is useful for testing the latest set of standard features used for BTF encoding, but will not be used in the kernel Makefile.btf. It functions as a useful shortcut for testing the latest set of standard features. Describe this in the manual page. Suggested-by: Arnaldo Carvalho de Melo <acme@kernel.org> Signed-off-by: Alan Maguire <alan.maguire@oracle.com> Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com> Cc: Clark Williams <williams@redhat.com> Cc: Daniel Xu <dxu@dxuuu.xyz> Cc: Eduard Zingerman <eddyz87@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kate Carcia Poulin <kcarcia@redhat.com> Link: https://lore.kernel.org/r/20240430095501.1959359-1-alan.maguire@oracle.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--man-pages/pahole.12
1 files changed, 1 insertions, 1 deletions
diff --git a/man-pages/pahole.1 b/man-pages/pahole.1
index e3c58e0..19bf197 100644
--- a/man-pages/pahole.1
+++ b/man-pages/pahole.1
@@ -290,7 +290,7 @@ Allow using all the BTF features supported by pahole.
.TP
.B \-\-btf_features=FEATURE_LIST
-Encode BTF using the specified feature list, or specify 'default' for all standard features supported. This option can be used as an alternative to unsing multiple BTF-related options. Supported standard features are
+Encode BTF using the specified feature list, or specify 'default' for all standard features supported. This option can be used as an alternative to using multiple BTF-related options, and 'default' represents the standard set of BTF features that are in use for kernel BTF generation, so is useful as a shortcut for testing the latest set of standard features. However kernel builds will call out specific features rather than using 'default' to ensure that the desired features are enabled regardless of pahole version and associated 'default' set. Supported standard features are
.nf
encode_force Ignore invalid symbols when encoding BTF; for example