diff options
author | Stanislav Fomichev <sdf@google.com> | 2019-03-02 06:42:16 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-03-02 22:10:40 +0300 |
commit | 615741d81de6c16aa466c4eb37805caa868a9bb8 (patch) | |
tree | 88bb57f8976aa724f01201fee75bd8401ce4ff8f /tools/testing/selftests/bpf/test_progs.h | |
parent | eaf90740f5ad054b1962f32a50e5b7476c0f16bd (diff) | |
download | linux-615741d81de6c16aa466c4eb37805caa868a9bb8.tar.xz |
selftests: bpf: break up test_progs - stackmap
Move stackmap prog tests into separate files.
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/test_progs.h')
-rw-r--r-- | tools/testing/selftests/bpf/test_progs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/test_progs.h b/tools/testing/selftests/bpf/test_progs.h index 040132877680..148b5494ed08 100644 --- a/tools/testing/selftests/bpf/test_progs.h +++ b/tools/testing/selftests/bpf/test_progs.h @@ -82,3 +82,6 @@ extern struct ipv6_packet pkt_v6; #define VIP_NUM 5 int bpf_find_map(const char *test, struct bpf_object *obj, const char *name); +int compare_map_keys(int map1_fd, int map2_fd); +int compare_stack_ips(int smap_fd, int amap_fd, int stack_trace_len); +int extract_build_id(char *build_id, size_t size); |