summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2017-08-25 14:39:57 -0700
committerDavid S. Miller <davem@davemloft.net>2017-08-28 15:35:18 -0700
commit7cadf2cbe8051dd43cb340d02d0d30960f061ac2 (patch)
treedcfc13447be00004828f4ace556a92c76e8d7929 /include
parentf740c34ee5cf62e1fff5ebec6d0e63efcc3cdfe9 (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 'include')
0 files changed, 0 insertions, 0 deletions