commit | 8c51b314d2eeae687bf8c28491c9f5e4f05f30f5 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Mon Jul 01 16:59:01 2019 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Fri Jul 05 22:37:30 2019 +0200 |
tree | ce59e1af3f0078dbed28433cb4c7bfb5e2086036 | |
parent | 84bf5e1f4f174fc4f06bc747dafa1a7cfa4e9a67 [diff] |
selftests/bpf: switch test to new attach_perf_event API Use new bpf_program__attach_perf_event() in test previously relying on direct ioctl manipulations. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Reviewed-by: Stanislav Fomichev <sdf@google.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>