Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) .. SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) ==============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) BPF drgn tools
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) ==============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) drgn scripts is a convenient and easy to use mechanism to retrieve arbitrary
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) kernel data structures. drgn is not relying on kernel UAPI to read the data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) Instead it's reading directly from ``/proc/kcore`` or vmcore and pretty prints
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) the data based on DWARF debug information from vmlinux.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12) This document describes BPF related drgn tools.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14) See `drgn/tools`_ for all tools available at the moment and `drgn/doc`_ for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) more details on drgn itself.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) bpf_inspect.py
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) --------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) ===========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) `bpf_inspect.py`_ is a tool intended to inspect BPF programs and maps. It can
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) iterate over all programs and maps in the system and print basic information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) about these objects, including id, type and name.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) The main use-case `bpf_inspect.py`_ covers is to show BPF programs of types
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) ``BPF_PROG_TYPE_EXT`` and ``BPF_PROG_TYPE_TRACING`` attached to other BPF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) programs via ``freplace``/``fentry``/``fexit`` mechanisms, since there is no
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) user-space API to get this information.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) Getting started
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) ===============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35) List BPF programs (full names are obtained from BTF)::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37)     % sudo bpf_inspect.py prog
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38)         27: BPF_PROG_TYPE_TRACEPOINT         tracepoint__tcp__tcp_send_reset
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39)       4632: BPF_PROG_TYPE_CGROUP_SOCK_ADDR   tw_ipt_bind
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40)      49464: BPF_PROG_TYPE_RAW_TRACEPOINT     raw_tracepoint__sched_process_exit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) List BPF maps::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44)       % sudo bpf_inspect.py map
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45)         2577: BPF_MAP_TYPE_HASH                tw_ipt_vips
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46)         4050: BPF_MAP_TYPE_STACK_TRACE         stack_traces
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47)         4069: BPF_MAP_TYPE_PERCPU_ARRAY        ned_dctcp_cntr
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) Find BPF programs attached to BPF program ``test_pkt_access``::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51)       % sudo bpf_inspect.py p | grep test_pkt_access
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52)          650: BPF_PROG_TYPE_SCHED_CLS          test_pkt_access
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53)          654: BPF_PROG_TYPE_TRACING            test_main                        linked:[650->25: BPF_TRAMP_FEXIT test_pkt_access->test_pkt_access()]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54)          655: BPF_PROG_TYPE_TRACING            test_subprog1                    linked:[650->29: BPF_TRAMP_FEXIT test_pkt_access->test_pkt_access_subprog1()]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55)          656: BPF_PROG_TYPE_TRACING            test_subprog2                    linked:[650->31: BPF_TRAMP_FEXIT test_pkt_access->test_pkt_access_subprog2()]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56)          657: BPF_PROG_TYPE_TRACING            test_subprog3                    linked:[650->21: BPF_TRAMP_FEXIT test_pkt_access->test_pkt_access_subprog3()]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57)          658: BPF_PROG_TYPE_EXT                new_get_skb_len                  linked:[650->16: BPF_TRAMP_REPLACE test_pkt_access->get_skb_len()]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58)          659: BPF_PROG_TYPE_EXT                new_get_skb_ifindex              linked:[650->23: BPF_TRAMP_REPLACE test_pkt_access->get_skb_ifindex()]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59)          660: BPF_PROG_TYPE_EXT                new_get_constant                 linked:[650->19: BPF_TRAMP_REPLACE test_pkt_access->get_constant()]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) It can be seen that there is a program ``test_pkt_access``, id 650 and there
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) are multiple other tracing and ext programs attached to functions in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) ``test_pkt_access``.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) For example the line::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67)          658: BPF_PROG_TYPE_EXT                new_get_skb_len                  linked:[650->16: BPF_TRAMP_REPLACE test_pkt_access->get_skb_len()]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) , means that BPF program id 658, type ``BPF_PROG_TYPE_EXT``, name
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) ``new_get_skb_len`` replaces (``BPF_TRAMP_REPLACE``) function ``get_skb_len()``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) that has BTF id 16 in BPF program id 650, name ``test_pkt_access``.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73) Getting help:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) .. code-block:: none
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77)     % sudo bpf_inspect.py
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78)     usage: bpf_inspect.py [-h] {prog,p,map,m} ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80)     drgn script to list BPF programs or maps and their properties
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81)     unavailable via kernel API.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83)     See https://github.com/osandov/drgn/ for more details on drgn.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85)     optional arguments:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86)       -h, --help      show this help message and exit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88)     subcommands:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89)       {prog,p,map,m}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90)         prog (p)      list BPF programs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91)         map (m)       list BPF maps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) Customization
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) =============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) The script is intended to be customized by developers to print relevant
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) information about BPF programs, maps and other objects.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) For example, to print ``struct bpf_prog_aux`` for BPF program id 53077:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) .. code-block:: none
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)     % git diff
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104)     diff --git a/tools/bpf_inspect.py b/tools/bpf_inspect.py
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105)     index 650e228..aea2357 100755
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106)     --- a/tools/bpf_inspect.py
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107)     +++ b/tools/bpf_inspect.py
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108)     @@ -112,7 +112,9 @@ def list_bpf_progs(args):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109)              if linked:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110)                  linked = f" linked:[{linked}]"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112)     -        print(f"{id_:>6}: {type_:32} {name:32} {linked}")
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113)     +        if id_ == 53077:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114)     +            print(f"{id_:>6}: {type_:32} {name:32}")
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115)     +            print(f"{bpf_prog.aux}")
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118)      def list_bpf_maps(args):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) It produces the output::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122)     % sudo bpf_inspect.py p
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123)      53077: BPF_PROG_TYPE_XDP                tw_xdp_policer
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124)     *(struct bpf_prog_aux *)0xffff8893fad4b400 = {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125)             .refcnt = (atomic64_t){
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126)                     .counter = (long)58,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127)             },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128)             .used_map_cnt = (u32)1,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129)             .max_ctx_offset = (u32)8,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130)             .max_pkt_offset = (u32)15,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131)             .max_tp_access = (u32)0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132)             .stack_depth = (u32)8,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133)             .id = (u32)53077,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134)             .func_cnt = (u32)0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135)             .func_idx = (u32)0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136)             .attach_btf_id = (u32)0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137)             .linked_prog = (struct bpf_prog *)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138)             .verifier_zext = (bool)0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139)             .offload_requested = (bool)0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140)             .attach_btf_trace = (bool)0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141)             .func_proto_unreliable = (bool)0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142)             .trampoline_prog_type = (enum bpf_tramp_prog_type)BPF_TRAMP_FENTRY,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143)             .trampoline = (struct bpf_trampoline *)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144)             .tramp_hlist = (struct hlist_node){
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145)                     .next = (struct hlist_node *)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146)                     .pprev = (struct hlist_node **)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147)             },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148)             .attach_func_proto = (const struct btf_type *)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149)             .attach_func_name = (const char *)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150)             .func = (struct bpf_prog **)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151)             .jit_data = (void *)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152)             .poke_tab = (struct bpf_jit_poke_descriptor *)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153)             .size_poke_tab = (u32)0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154)             .ksym_tnode = (struct latch_tree_node){
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155)                     .node = (struct rb_node [2]){
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156)                             {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157)                                     .__rb_parent_color = (unsigned long)18446612956263126665,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158)                                     .rb_right = (struct rb_node *)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159)                                     .rb_left = (struct rb_node *)0xffff88a0be3d0088,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160)                             },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161)                             {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162)                                     .__rb_parent_color = (unsigned long)18446612956263126689,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163)                                     .rb_right = (struct rb_node *)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164)                                     .rb_left = (struct rb_node *)0xffff88a0be3d00a0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165)                             },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166)                     },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167)             },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168)             .ksym_lnode = (struct list_head){
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169)                     .next = (struct list_head *)0xffff88bf481830b8,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170)                     .prev = (struct list_head *)0xffff888309f536b8,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171)             },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172)             .ops = (const struct bpf_prog_ops *)xdp_prog_ops+0x0 = 0xffffffff820fa350,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173)             .used_maps = (struct bpf_map **)0xffff889ff795de98,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174)             .prog = (struct bpf_prog *)0xffffc9000cf2d000,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175)             .user = (struct user_struct *)root_user+0x0 = 0xffffffff82444820,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176)             .load_time = (u64)2408348759285319,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177)             .cgroup_storage = (struct bpf_map *[2]){},
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178)             .name = (char [16])"tw_xdp_policer",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179)             .security = (void *)0xffff889ff795d548,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180)             .offload = (struct bpf_prog_offload *)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181)             .btf = (struct btf *)0xffff8890ce6d0580,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182)             .func_info = (struct bpf_func_info *)0xffff889ff795d240,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183)             .func_info_aux = (struct bpf_func_info_aux *)0xffff889ff795de20,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184)             .linfo = (struct bpf_line_info *)0xffff888a707afc00,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185)             .jited_linfo = (void **)0xffff8893fad48600,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186)             .func_info_cnt = (u32)1,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187)             .nr_linfo = (u32)37,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188)             .linfo_idx = (u32)0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189)             .num_exentries = (u32)0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190)             .extable = (struct exception_table_entry *)0xffffffffa032d950,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191)             .stats = (struct bpf_prog_stats *)0x603fe3a1f6d0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192)             .work = (struct work_struct){
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193)                     .data = (atomic_long_t){
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194)                             .counter = (long)0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195)                     },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196)                     .entry = (struct list_head){
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197)                             .next = (struct list_head *)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198)                             .prev = (struct list_head *)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199)                     },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200)                     .func = (work_func_t)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201)             },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202)             .rcu = (struct callback_head){
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203)                     .next = (struct callback_head *)0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204)                     .func = (void (*)(struct callback_head *))0x0,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205)             },
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206)     }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) .. Links
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) .. _drgn/doc: https://drgn.readthedocs.io/en/latest/
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) .. _drgn/tools: https://github.com/osandov/drgn/tree/master/tools
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) .. _bpf_inspect.py:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213)    https://github.com/osandov/drgn/blob/master/tools/bpf_inspect.py