The test uses PERF_RECORD_SWITCH records to fill the ring buffer and
trigger the watermark wakeup, which in turn should trigger an IO
signal.
Signed-off-by: Kyle Huey
---
.../testing/selftests/perf_events/.gitignore | 1 +
tools/testing/selftests/perf_events/Makefile | 2 +-
.../selftests
times to test that all effects behave as expected.
Signed-off-by: Kyle Huey
Acked-by: Song Liu
Acked-by: Jiri Olsa
Acked-by: Andrii Nakryiko
---
.../selftests/bpf/prog_tests/perf_skip.c | 137 ++
.../selftests/bpf/progs/test_perf_skip.c | 15 ++
2 files changed, 152
"failed to sycnhronize with child errno=%d
> status=%x\n",
> + "failed to synchronize with child errno=%d
> status=%x\n",
> errno,
> child_status);
> goto cleanup;
> --
> 2.39.2
>
Nice catch.
Acked-by: Kyle Huey
- Kyle
The test uses PERF_RECORD_SWITCH records to fill the ring buffer and
trigger the watermark wakeup, which in turn should trigger an IO
signal.
Signed-off-by: Kyle Huey
---
.../testing/selftests/perf_events/.gitignore | 1 +
tools/testing/selftests/perf_events/Makefile | 2 +-
.../selftests
times to test that all effects behave as expected.
Signed-off-by: Kyle Huey
Acked-by: Song Liu
Acked-by: Jiri Olsa
---
.../selftests/bpf/prog_tests/perf_skip.c | 137 ++
.../selftests/bpf/progs/test_perf_skip.c | 15 ++
2 files changed, 152 insertions(+)
create mode
times to test that all effects behave as expected.
Signed-off-by: Kyle Huey
Acked-by: Song Liu
Acked-by: Jiri Olsa
---
.../selftests/bpf/prog_tests/perf_skip.c | 137 ++
.../selftests/bpf/progs/test_perf_skip.c | 15 ++
2 files changed, 152 insertions(+)
create mode
times to test that all effects behave as expected.
Signed-off-by: Kyle Huey
---
.../selftests/bpf/prog_tests/perf_skip.c | 136 ++
.../selftests/bpf/progs/test_perf_skip.c | 15 ++
2 files changed, 151 insertions(+)
create mode 100644 tools/testing/selftests/bpf
On Tue, Jan 2, 2024 at 2:49 PM Song Liu wrote:
>
> On Sun, Dec 10, 2023 at 8:56 PM Kyle Huey wrote:
> >
> > The test sets a hardware breakpoint and uses a bpf program to suppress the
> > side effects of a perf event sample, including I/O availability signals,
> &
times to test that all effects behave as expected.
Signed-off-by: Kyle Huey
---
.../selftests/bpf/prog_tests/perf_skip.c | 140 ++
.../selftests/bpf/progs/test_perf_skip.c | 15 ++
2 files changed, 155 insertions(+)
create mode 100644 tools/testing/selftests/bpf
On Fri, Dec 8, 2023 at 12:07 AM Marco Elver wrote:
> I think that's easy to fix by just defining TRAP_PERF yourself
Yeah that would work here.
- Kyle
On Thu, Dec 7, 2023 at 2:56 PM Kyle Huey wrote:
>
> On Thu, Dec 7, 2023 at 11:20 AM Marco Elver wrote:
> >
> > On Thu, 7 Dec 2023 at 20:12, Andrii Nakryiko
> > wrote:
> > >
> > > On Thu, Dec 7, 2023 at 8:35 AM Kyle Huey wrote:
> > > >
>
On Thu, Dec 7, 2023 at 11:20 AM Marco Elver wrote:
>
> On Thu, 7 Dec 2023 at 20:12, Andrii Nakryiko
> wrote:
> >
> > On Thu, Dec 7, 2023 at 8:35 AM Kyle Huey wrote:
> > >
> > > The test sets a hardware breakpoint and uses a bpf program to suppress the
&g
times to test that all effects behave as expected.
Signed-off-by: Kyle Huey
---
.../selftests/bpf/prog_tests/perf_skip.c | 145 ++
.../selftests/bpf/progs/test_perf_skip.c | 15 ++
2 files changed, 160 insertions(+)
create mode 100644 tools/testing/selftests/bpf
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.
> >
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.
> >
&
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
16 matches
Mail list logo