commit | 88f7fe7233244101fa5b7786e2e298bf27fe1375 | [log] [tgz] |
---|---|---|
author | Song Liu <songliubraving@fb.com> | Fri Sep 25 13:54:30 2020 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Mon Sep 28 21:52:36 2020 +0200 |
tree | 168b966ed1f1b5788ad78f65d8e403f265d13f7f | |
parent | 1b4d60ec162f82ea29a2e7a907b5c6cc9f926321 [diff] |
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