diff options
author | Andrii Nakryiko | 2019-02-08 20:19:38 +0100 |
---|---|---|
committer | Alexei Starovoitov | 2019-02-08 21:04:13 +0100 |
commit | ae4ab4b4117d23da49f04a7e1fe82a41e6074eeb (patch) | |
tree | ad5082a6f997ab16fadfbea5fb31f457d04e7eda /tools/testing/selftests/pstore | |
parent | btf: expose API to work with raw btf data (diff) | |
download | kernel-qcow2-linux-ae4ab4b4117d23da49f04a7e1fe82a41e6074eeb.tar.gz kernel-qcow2-linux-ae4ab4b4117d23da49f04a7e1fe82a41e6074eeb.tar.xz kernel-qcow2-linux-ae4ab4b4117d23da49f04a7e1fe82a41e6074eeb.zip |
btf: expose API to work with raw btf_ext data
This patch changes struct btf_ext to retain original data in sequential
block of memory, which makes it possible to expose
btf_ext__get_raw_data() interface similar to btf__get_raw_data(), allowing
users of libbpf to get access to raw representation of .BTF.ext section.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/pstore')
0 files changed, 0 insertions, 0 deletions