diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2024-03-15 14:09:05 -0700 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2024-03-15 14:24:10 -0700 |
commit | 0740b6427e90ef03177888c50dc1c78ca6e0f7f0 (patch) | |
tree | b97a172c0443649cceb63e430623d10f69b1a105 /tools/bpf/bpftool/gen.c | |
parent | aae08491b9438347e9656c44021824ad236052b4 (diff) | |
parent | a90c5845db958701ddc7659bc4f6db6fa647e449 (diff) |
Merge branch 'bpf-arena-followups'
Alexei Starovoitov says:
====================
bpf: arena followups.
From: Alexei Starovoitov <ast@kernel.org>
A set of follow ups to clean up bpf_arena and adjust to the latest LLVM.
====================
Link: https://lore.kernel.org/r/20240315021834.62988-1-alexei.starovoitov@gmail.com
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'tools/bpf/bpftool/gen.c')
-rw-r--r-- | tools/bpf/bpftool/gen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/gen.c b/tools/bpf/bpftool/gen.c index 4fa4ade1ce74..540c0f2c4fda 100644 --- a/tools/bpf/bpftool/gen.c +++ b/tools/bpf/bpftool/gen.c @@ -121,7 +121,7 @@ static bool get_datasec_ident(const char *sec_name, char *buf, size_t buf_sz) int i, n; /* recognize hard coded LLVM section name */ - if (strcmp(sec_name, ".arena.1") == 0) { + if (strcmp(sec_name, ".addr_space.1") == 0) { /* this is the name to use in skeleton */ snprintf(buf, buf_sz, "arena"); return true; |