Files
kernel/include/linux
Song Liu 1b4d60ec16 bpf: Enable BPF_PROG_TEST_RUN for raw_tracepoint
Add .test_run for raw_tracepoint. Also, introduce a new feature that runs
the target program on a specific CPU. This is achieved by a new flag in
bpf_attr.test, BPF_F_TEST_RUN_ON_CPU. When this flag is set, the program
is triggered on cpu with id bpf_attr.test.cpu. This feature is needed for
BPF programs that handle perf_event and other percpu resources, as the
program can access these resource locally.

Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Link: https://lore.kernel.org/bpf/20200925205432.1777-2-songliubraving@fb.com
2020-09-28 21:52:36 +02:00
..
2020-09-18 17:49:20 -07:00
2020-09-21 15:00:40 -07:00
2020-09-15 13:26:28 -07:00
2020-08-14 19:56:56 -07:00
2020-08-04 21:02:38 -04:00
2020-08-26 12:41:56 +02:00
2020-09-04 09:25:20 -07:00
2020-08-31 12:52:33 -07:00
2020-08-19 16:09:19 -07:00
2020-08-07 11:33:24 -07:00