From: Yonghong Song <yhs@fb.com>
To: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Arnaldo Carvalho de Melo <arnaldo.melo@gmail.com>,
<dwarves@vger.kernel.org>, Alexei Starovoitov <ast@kernel.org>,
Andrii Nakryiko <andrii@kernel.org>, <bpf@vger.kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>, <kernel-team@fb.com>
Subject: Re: [PATCH dwarves 3/4] dwarf_loader: support btf_type_tag attribute
Date: Thu, 18 Nov 2021 08:11:26 -0800 [thread overview]
Message-ID: <87565e18-e45a-0352-f9a5-7849ee8d2f30@fb.com> (raw)
In-Reply-To: <YZZOXq0mL7YW5IhC@kernel.org>
On 11/18/21 5:00 AM, Arnaldo Carvalho de Melo wrote:
> Em Wed, Nov 17, 2021 at 12:22:29PM -0800, Yonghong Song escreveu:
>> This patch implemented dwarf_loader support. If a pointer type
>> contains DW_TAG_LLVM_annotation tags, a new type
>> btf_type_tag_ptr_type will be created which will store
>> the pointer tag itself and all DW_TAG_LLVM_annotation tags.
>> During recoding stage, the type chain will be formed properly
>> based on the above example.
>>
>> An option "--skip_encoding_btf_type_tag" is added to disable
>> this new functionality.
>>
>> [1] https://reviews.llvm.org/D111199
>> [2] https://reviews.llvm.org/D113222
>> [3] https://reviews.llvm.org/D113496
>
> You forgot to add your S-o-B and to add this entry to
> man-pages/pahole.1, I'm fixing both cases, bellow is a followup
> patch, I'll add one as well for the recently added
> --skip_encoding_btf_decl_tag.
Thanks for the fixup! It is my fault as I never changed man page
before and not aware of that.
>
> - Arnaldo
>
> commit 9c3101db76acf364607d90adb3052e34d81fa1bd
> Author: Arnaldo Carvalho de Melo <acme@redhat.com>
> Date: Thu Nov 18 09:56:35 2021 -0300
>
> man pages: Add missing --skip_encoding_btf_type_tag entry
>
> In the past we saw the value of being able to disable specific features
> due to problems in in its implementation, allowing users to use a subset
> of functionality, without the problematic one.
>
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
>
> diff --git a/man-pages/pahole.1 b/man-pages/pahole.1
> index edcf58b8ca5814a3..f9f64b67945b45cb 100644
> --- a/man-pages/pahole.1
> +++ b/man-pages/pahole.1
> @@ -197,6 +197,10 @@ the debugging information.
> .B \-\-skip_encoding_btf_vars
> Do not encode VARs in BTF.
>
> +.TP
> +.B \-\-skip_encoding_btf_type_tag
> +Do not encode type tags in BTF.
> +
> .TP
> .B \-j, \-\-jobs=N
> Run N jobs in parallel. Defaults to number of online processors + 10% (like
>
>
LGTM.
[...]
next prev parent reply other threads:[~2021-11-18 16:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-17 20:22 [PATCH dwarves 0/4] btf: support btf_type_tag attribute Yonghong Song
2021-11-17 20:22 ` [PATCH dwarves 1/4] libbpf: sync with latest libbpf repo Yonghong Song
2021-11-17 20:22 ` [PATCH dwarves 2/4] dutil: move DW_TAG_LLVM_annotation definition to dutil.h Yonghong Song
2021-11-17 20:22 ` [PATCH dwarves 3/4] dwarf_loader: support btf_type_tag attribute Yonghong Song
2021-11-18 13:00 ` Arnaldo Carvalho de Melo
2021-11-18 16:11 ` Yonghong Song [this message]
2021-11-23 1:52 ` Andrii Nakryiko
2021-11-23 3:32 ` Yonghong Song
2021-11-23 3:45 ` Andrii Nakryiko
2021-11-23 4:18 ` Yonghong Song
2021-11-17 20:22 ` [PATCH dwarves 4/4] btf_encoder: " Yonghong Song
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87565e18-e45a-0352-f9a5-7849ee8d2f30@fb.com \
--to=yhs@fb.com \
--cc=acme@kernel.org \
--cc=andrii@kernel.org \
--cc=arnaldo.melo@gmail.com \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=dwarves@vger.kernel.org \
--cc=kernel-team@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox