[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1656089118-577-1-git-send-email-alan.maguire@oracle.com>
Date: Fri, 24 Jun 2022 17:45:16 +0100
From: Alan Maguire <alan.maguire@...cle.com>
To: ast@...nel.org, daniel@...earbox.net, andrii@...nel.org,
jolsa@...nel.org
Cc: kafai@...com, songliubraving@...com, yhs@...com,
john.fastabend@...il.com, kpsingh@...nel.org, mhiramat@...nel.org,
akpm@...ux-foundation.org, void@...ifault.com, swboyd@...omium.org,
ndesaulniers@...gle.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, bpf@...r.kernel.org,
Alan Maguire <alan.maguire@...cle.com>
Subject: [RFC bpf-next 0/2] bpf: add a kallsyms BPF iterator
a kallsyms BPF iterator would be useful as it would allow more flexible
iteractions with kernel symbols than are currently supported; it could
for example create more efficient map representations for lookup,
speed up symbol resolution etc.
The idea was initially discussed here [1].
[1] https://lore.kernel.org/all/YjRPZj6Z8vuLeEZo@krava/
Alan Maguire (2):
bpf: add a kallsyms BPF iterator
selftests/bpf: add a kallsyms iter subtest
kernel/kallsyms.c | 93 ++++++++++++++++++++++
tools/testing/selftests/bpf/prog_tests/bpf_iter.c | 16 ++++
.../selftests/bpf/progs/bpf_iter_kallsyms.c | 71 +++++++++++++++++
3 files changed, 180 insertions(+)
create mode 100644 tools/testing/selftests/bpf/progs/bpf_iter_kallsyms.c
--
1.8.3.1
Powered by blists - more mailing lists