|
acme@redhat.com |
|---|
$ pahole -C list_head ~/git/build/v5.18-rc6+/vmlinux
struct list_head {
struct list_head * next; /* 0 8 */
struct list_head * prev; /* 8 8 */
/* size: 16, cachelines: 1, members: 2 */
/* last cacheline: 16 bytes */
};
$
bpftool btf dump file /sys/kernel/btf/vmlinux format c
static const char *languages[] = {
[DW_LANG_Ada83] = "ada83",
SNIP
[DW_LANG_C11] = "c11",
[DW_LANG_C89] = "c89",
[DW_LANG_C99] = "c99",
[DW_LANG_C] = "c",
[DW_LANG_Cobol74] = "cobol74",
SNIP
[DW_LANG_C_plus_plus_14] = "c++14",
[DW_LANG_C_plus_plus] = "c++",
[DW_LANG_D] = "d",
[DW_LANG_Dylan] = "dylan",
[DW_LANG_Fortran03] = "fortran03",
SNIP
[DW_LANG_PLI] = "pli",
[DW_LANG_Python] = "python",
[DW_LANG_RenderScript] = "renderscript",
[DW_LANG_Rust] = "rust",
};