diff options
author | 2021-03-24 18:52:07 -0700 | |
---|---|---|
committer | 2021-03-26 20:41:51 -0700 | |
commit | 933d1aa32409ef4209c8065ee4ede68236659cd2 (patch) | |
tree | 797dd7d5817f629c230a396dd2c84f136213adaa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: tcp: Put some tcp cong functions in allowlist for bpf-tcp-cc (diff) | |
download | wireguard-linux-933d1aa32409ef4209c8065ee4ede68236659cd2.tar.xz wireguard-linux-933d1aa32409ef4209c8065ee4ede68236659cd2.zip |
libbpf: Refactor bpf_object__resolve_ksyms_btf_id
This patch refactors most of the logic from
bpf_object__resolve_ksyms_btf_id() into a new function
bpf_object__resolve_ksym_var_btf_id().
It is to get ready for a later patch adding
bpf_object__resolve_ksym_func_btf_id() which resolves
a kernel function to the running kernel btf_id.
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210325015207.1546749-1-kafai@fb.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions