From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: "Martin Liška" <mliska@suse.cz>
Cc: dwarves@vger.kernel.org, Nick Clifton <nickc@redhat.com>
Subject: Re: Encountered error while encoding BTF due to Unsupported DW_TAG_unspecified_type(0x3b)
Date: Wed, 5 Oct 2022 11:37:13 -0300 [thread overview]
Message-ID: <Yz2Wmd0WgiwmPglm@kernel.org> (raw)
In-Reply-To: <a57a66b1-9457-a84f-6f66-9695aab01b1a@suse.cz>
Em Wed, Oct 05, 2022 at 09:23:32AM +0200, Martin Liška escreveu:
> On 10/4/22 23:44, Arnaldo Carvalho de Melo wrote:
> > I assume "binutils master" means:
> >
> > git://sourceware.org/git/binutils-gdb.git master?
>
> Yes.
Taking notes:
Using what is in opensuse:tumbleweed it works:
15e20ce2324a:~/git/linux # ls -la ../build/v6.0.0+/vmlinux
-rwxr-xr-x. 1 root root 674990096 Oct 5 14:30 ../build/v6.0.0+/vmlinux
15e20ce2324a:~/git/linux # pahole ../build/v6.0.0+/vmlinux > /dev/null
15e20ce2324a:~/git/linux # time pahole ../build/v6.0.0+/vmlinux > /dev/null
real 0m5.155s
user 0m4.518s
sys 0m0.608s
15e20ce2324a:~/git/linux # time pahole -F dwarf ../build/v6.0.0+/vmlinux > /dev/null
real 0m5.184s
user 0m4.504s
sys 0m0.662s
15e20ce2324a:~/git/linux # time pahole -F btf ../build/v6.0.0+/vmlinux > /dev/null
real 0m0.077s
user 0m0.057s
sys 0m0.020s
15e20ce2324a:~/git/linux # btfdiff ../build/v6.0.0+/vmlinux
15e20ce2324a:~/git/linux # pahole -F btf -C spinlock_t ../build/v6.0.0+/vmlinux > /dev/null
15e20ce2324a:~/git/linux # pahole -F btf -C spinlock_t ../build/v6.0.0+/vmlinux
typedef struct spinlock spinlock_t;
15e20ce2324a:~/git/linux # pahole -EF btf -C spinlock_t ../build/v6.0.0+/vmlinux
typedef struct spinlock spinlock_t;
15e20ce2324a:~/git/linux # pahole -F btf -C spinlock ../build/v6.0.0+/vmlinux
struct spinlock {
union {
struct raw_spinlock rlock; /* 0 4 */
}; /* 0 4 */
/* size: 4, cachelines: 1, members: 1 */
/* last cacheline: 4 bytes */
};
15e20ce2324a:~/git/linux # pahole -EF btf -C spinlock ../build/v6.0.0+/vmlinux
struct spinlock {
union {
struct raw_spinlock {
/* typedef arch_spinlock_t */ struct qspinlock {
union {
/* typedef atomic_t */ struct {
int counter; /* 0 4 */
} val; /* 0 4 */
struct {
/* typedef u8 -> __u8 */ unsigned char locked; /* 0 1 */
/* typedef u8 -> __u8 */ unsigned char pending; /* 1 1 */
}; /* 0 2 */
struct {
/* typedef u16 -> __u16 */ short unsigned int locked_pending; /* 0 2 */
/* typedef u16 -> __u16 */ short unsigned int tail; /* 2 2 */
}; /* 0 4 */
}; /* 0 4 */
} raw_lock; /* 0 4 */
} rlock; /* 0 4 */
}; /* 0 4 */
/* size: 4, cachelines: 1, members: 1 */
/* last cacheline: 4 bytes */
};
15e20ce2324a:~/git/linux # pahole --version
v1.22
15e20ce2324a:~/git/linux #
15e20ce2324a:~/git/linux # rpm -q binutils
binutils-2.38-6.2.x86_64
15e20ce2324a:~/git/linux #
Now to update binutils.
- Arnaldo
next prev parent reply other threads:[~2022-10-05 14:37 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-03 8:56 Encountered error while encoding BTF due to Unsupported DW_TAG_unspecified_type(0x3b) Martin Liška
2022-10-03 12:07 ` Nick Clifton
2022-10-04 12:15 ` Arnaldo Carvalho de Melo
2022-10-04 12:17 ` Arnaldo Carvalho de Melo
2022-10-04 12:31 ` Arnaldo Carvalho de Melo
2022-10-04 21:42 ` Arnaldo Carvalho de Melo
2022-10-05 8:41 ` Martin Liška
2022-10-04 12:33 ` Nick Clifton
2022-10-04 13:25 ` Arnaldo Carvalho de Melo
2022-10-04 18:07 ` Arnaldo Carvalho de Melo
2022-10-04 21:13 ` Arnaldo Carvalho de Melo
2022-10-04 21:44 ` Arnaldo Carvalho de Melo
2022-10-05 7:23 ` Martin Liška
2022-10-05 14:37 ` Arnaldo Carvalho de Melo [this message]
2022-10-05 15:43 ` Arnaldo Carvalho de Melo
2022-10-06 11:54 ` Martin Liška
[not found] ` <Yz7bevBJAm0JiLfp@kernel.org>
2022-10-06 14:00 ` Arnaldo Carvalho de Melo
2022-10-06 14:15 ` [PATCH/RFC pahole] btf_encoder: Encode DW_TAG_unspecified_type as BTF_KIND_CONST was: " Arnaldo Carvalho de Melo
2022-10-06 16:04 ` Andrii Nakryiko
2022-10-06 17:23 ` Arnaldo Carvalho de Melo
2022-10-07 20:21 ` Arnaldo Carvalho de Melo
2022-10-08 0:25 ` Yonghong Song
2022-10-10 12:06 ` Arnaldo Carvalho de Melo
2022-10-10 20:08 ` Arnaldo Carvalho de Melo
2022-10-10 20:19 ` Arnaldo Carvalho de Melo
2022-10-11 5:57 ` Yonghong Song
2022-10-11 13:45 ` Arnaldo Carvalho de Melo
2022-10-11 15:33 ` Yonghong Song
2022-10-11 17:16 ` Arnaldo Carvalho de Melo
2023-01-30 9:23 ` Martin Liška
2023-01-30 14:20 ` pahole 1.25 plans was: " Arnaldo Carvalho de Melo
2023-03-12 0:03 ` Dominique Martinet
2022-10-05 16:55 ` Arnaldo Carvalho de Melo
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=Yz2Wmd0WgiwmPglm@kernel.org \
--to=acme@kernel.org \
--cc=dwarves@vger.kernel.org \
--cc=mliska@suse.cz \
--cc=nickc@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.