diff options
author | Martin KaFai Lau <[email protected]> | 2018-05-04 14:49:52 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-05-09 17:25:13 +0200 |
commit | 62dab84c81a487d946a5fc37c6df541dd95cca38 (patch) | |
tree | bcfa804c58e189bf89226ed0c7afa1e23dfeb24c /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 78958fca7ead2f81b60a6827881c4866d1ed0c52 (diff) |
bpf: btf: Add struct bpf_btf_info
During BPF_OBJ_GET_INFO_BY_FD on a btf_fd, the current bpf_attr's
info.info is directly filled with the BTF binary data. It is
not extensible. In this case, we want to add BTF ID.
This patch adds "struct bpf_btf_info" which has the BTF ID as
one of its member. The BTF binary data itself is exposed through
the "btf" and "btf_size" members.
Signed-off-by: Martin KaFai Lau <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Acked-by: Song Liu <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions