diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-08-25 14:39:57 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-28 15:35:18 -0700 |
commit | 7cadf2cbe8051dd43cb340d02d0d30960f061ac2 (patch) | |
tree | dcfc13447be00004828f4ace556a92c76e8d7929 /arch/frv | |
parent | f740c34ee5cf62e1fff5ebec6d0e63efcc3cdfe9 (diff) |
selftests/bpf: check the instruction dumps are populated
Add a basic test for checking whether kernel is populating
the jited and xlated BPF images. It was used to confirm
the behaviour change from commit d777b2ddbecf ("bpf: don't
zero out the info struct in bpf_obj_get_info_by_fd()"),
which made bpf_obj_get_info_by_fd() usable for retrieving
the image dumps.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/frv')
0 files changed, 0 insertions, 0 deletions