Re: [PATCH 2/2] selftest/bpf: Test returning zero from a perf bpf program suppresses SIGIO.

2023-12-05 Thread Kyle Huey
On Mon, Dec 4, 2023 at 2:14 PM Andrii Nakryiko wrote: > > On Mon, Dec 4, 2023 at 12:14 PM Kyle Huey wrote: > > > > The test sets a hardware breakpoint and uses a bpf program to suppress the > > I/O availability signal if the ip matches the expected value. > > > > Signed-off-by: Kyle Huey > >

Re: [PATCH 2/2] selftest/bpf: Test returning zero from a perf bpf program suppresses SIGIO.

2023-12-05 Thread Kyle Huey
On Tue, Dec 5, 2023 at 8:54 AM Yonghong Song wrote: > > > On 12/4/23 3:14 PM, Kyle Huey wrote: > > The test sets a hardware breakpoint and uses a bpf program to suppress the > > I/O availability signal if the ip matches the expected value. > > > > Signed-off-by: Kyle Huey > > --- > >

Re: [PATCH 2/2] selftest/bpf: Test returning zero from a perf bpf program suppresses SIGIO.

2023-12-05 Thread Yonghong Song
On 12/4/23 3:14 PM, Kyle Huey wrote: The test sets a hardware breakpoint and uses a bpf program to suppress the I/O availability signal if the ip matches the expected value. Signed-off-by: Kyle Huey --- .../selftests/bpf/prog_tests/perf_skip.c | 95 +++

Re: [PATCH 2/2] selftest/bpf: Test returning zero from a perf bpf program suppresses SIGIO.

2023-12-05 Thread Jiri Olsa
On Mon, Dec 04, 2023 at 12:14:06PM -0800, Kyle Huey wrote: > The test sets a hardware breakpoint and uses a bpf program to suppress the > I/O availability signal if the ip matches the expected value. > > Signed-off-by: Kyle Huey > --- > .../selftests/bpf/prog_tests/perf_skip.c | 95

Re: [PATCH 2/2] selftest/bpf: Test returning zero from a perf bpf program suppresses SIGIO.

2023-12-04 Thread Andrii Nakryiko
On Mon, Dec 4, 2023 at 12:14 PM Kyle Huey wrote: > > The test sets a hardware breakpoint and uses a bpf program to suppress the > I/O availability signal if the ip matches the expected value. > > Signed-off-by: Kyle Huey > --- > .../selftests/bpf/prog_tests/perf_skip.c | 95

[PATCH 2/2] selftest/bpf: Test returning zero from a perf bpf program suppresses SIGIO.

2023-12-04 Thread Kyle Huey
The test sets a hardware breakpoint and uses a bpf program to suppress the I/O availability signal if the ip matches the expected value. Signed-off-by: Kyle Huey --- .../selftests/bpf/prog_tests/perf_skip.c | 95 +++ .../selftests/bpf/progs/test_perf_skip.c | 23 +