diff options
| author | Andrii Nakryiko <[email protected]> | 2020-06-19 23:16:58 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-06-23 00:01:48 +0000 |
| commit | a479b8ce4ed1457f814be6f67a8447a9af38f235 (patch) | |
| tree | 97b32b3d93bb6b56b76a5ec1846bafcf887efaf6 /tools/bpf/bpftool/main.c | |
| parent | selftests/bpf: Add __ksym extern selftest (diff) | |
| download | kernel-a479b8ce4ed1457f814be6f67a8447a9af38f235.tar.gz kernel-a479b8ce4ed1457f814be6f67a8447a9af38f235.zip | |
tools/bpftool: Move map/prog parsing logic into common
Move functions that parse map and prog by id/tag/name/etc outside of
map.c/prog.c, respectively. These functions are used outside of those files
and are generic enough to be in common. This also makes heavy-weight map.c and
prog.c more decoupled from the rest of bpftool files and facilitates more
lightweight bootstrap bpftool variant.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Reviewed-by: Quentin Monnet <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/main.c')
0 files changed, 0 insertions, 0 deletions
