diff options
| author | Yonghong Song <[email protected]> | 2018-11-19 15:29:18 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2018-11-20 10:54:39 -0800 |
| commit | d7f5b5e051554c91bab995b67101af4625af591a (patch) | |
| tree | 68ef4ab5a33e07fa797af9188db2880ea65b7810 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 9ce6ae22c8e878aee7a96836b2ed9fd9a8173e41 (diff) | |
tools/bpf: refactor to implement btf_get_from_id() in lib/bpf
The function get_btf() is implemented in tools/bpf/bpftool/map.c
to get a btf structure given a map_info. This patch
refactored this function to be function btf_get_from_id()
in tools/lib/bpf so that it can be used later.
Signed-off-by: Yonghong Song <[email protected]>
Signed-off-by: Martin KaFai Lau <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions