Describe the option in the manual page. Signed-off-by: Alan Maguire <alan.maguire@xxxxxxxxxx> Cc: Alexei Starovoitov <ast@xxxxxxxxxx> Cc: Andrii Nakryiko <andrii@xxxxxxxxxx> Cc: Daniel Borkmann <daniel@xxxxxxxxxxxxx> Cc: Eduard Zingerman <eddyz87@xxxxxxxxx> Cc: Hao Luo <haoluo@xxxxxxxxxx> Cc: Jiri Olsa <jolsa@xxxxxxxxxx> Cc: John Fastabend <john.fastabend@xxxxxxxxx> Cc: KP Singh <kpsingh@xxxxxxxxxxxx> Cc: Kui-Feng Lee <sinquersw@xxxxxxxxx> Cc: Martin KaFai Lau <martin.lau@xxxxxxxxxx> Cc: Song Liu <songliubraving@xxxxxx> Cc: Stanislav Fomichev <sdf@xxxxxxxxxx> Cc: Timo Beckers <timo@xxxxxxxxxx> Cc: Yonghong Song <yhs@xxxxxx> Cc: bpf@xxxxxxxxxxxxxxx --- man-pages/pahole.1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/man-pages/pahole.1 b/man-pages/pahole.1 index 7460104..1a85f6d 100644 --- a/man-pages/pahole.1 +++ b/man-pages/pahole.1 @@ -261,6 +261,11 @@ to "/sys/kernel/btf/vmlinux". Allow producing BTF_KIND_FLOAT entries in systems where the vmlinux DWARF information has float types. +.TP +.B \-\-btf_gen_optimized +Generate BTF for functions with optimization-related suffixes (.isra, .constprop). +BTF will only be generated if a function does not optimize out parameters. + .TP .B \-\-btf_gen_all Allow using all the BTF features supported by pahole. -- 2.31.1