diff options
| author | Dave Marchevsky <[email protected]> | 2022-12-17 08:24:57 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2022-12-29 04:14:22 +0000 |
| commit | 30465003ad776a922c32b2dac58db14f120f037e (patch) | |
| tree | cd59e0ff3e3f7aadd6e784d9b93ccfd3ea597489 /tools/lib/bpf/bpf_tracing.h | |
| parent | libbpf: fix errno is overwritten after being closed. (diff) | |
| download | kernel-30465003ad776a922c32b2dac58db14f120f037e.tar.gz kernel-30465003ad776a922c32b2dac58db14f120f037e.zip | |
bpf: rename list_head -> graph_root in field info types
Many of the structs recently added to track field info for linked-list
head are useful as-is for rbtree root. So let's do a mechanical renaming
of list_head-related types and fields:
include/linux/bpf.h:
struct btf_field_list_head -> struct btf_field_graph_root
list_head -> graph_root in struct btf_field union
kernel/bpf/btf.c:
list_head -> graph_root in struct btf_field_info
This is a nonfunctional change, functionality to actually use these
fields for rbtree will be added in further patches.
Signed-off-by: Dave Marchevsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/bpf_tracing.h')
0 files changed, 0 insertions, 0 deletions
