diff options
author | Song Liu <songliubraving@fb.com> | 2020-09-25 23:54:30 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-09-28 22:52:36 +0300 |
commit | 88f7fe7233244101fa5b7786e2e298bf27fe1375 (patch) | |
tree | 168b966ed1f1b5788ad78f65d8e403f265d13f7f /tools/lib/bpf/libbpf.map | |
parent | 1b4d60ec162f82ea29a2e7a907b5c6cc9f926321 (diff) | |
download | linux-88f7fe7233244101fa5b7786e2e298bf27fe1375.tar.xz |
libbpf: Support test run of raw tracepoint programs
Add bpf_prog_test_run_opts() with support of new fields in bpf_attr.test,
namely, flags and cpu. Also extend _opts operations to support outputs via
opts.
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200925205432.1777-3-songliubraving@fb.com
Diffstat (limited to 'tools/lib/bpf/libbpf.map')
-rw-r--r-- | tools/lib/bpf/libbpf.map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map index 5f054dadf082..0623e7a99b1e 100644 --- a/tools/lib/bpf/libbpf.map +++ b/tools/lib/bpf/libbpf.map @@ -303,6 +303,7 @@ LIBBPF_0.1.0 { LIBBPF_0.2.0 { global: bpf_prog_bind_map; + bpf_prog_test_run_opts; bpf_program__section_name; perf_buffer__buffer_cnt; perf_buffer__buffer_fd; |