Re: [PATCH v4 bpf-next 7/9] selftests/bpf: switch test to new attach_perf_event API

2019-07-01 Thread Yonghong Song
On 7/1/19 3:32 PM, Andrii Nakryiko wrote: > On Mon, Jul 1, 2019 at 10:16 AM Yonghong Song wrote: >> >> >> >> On 6/28/19 8:49 PM, Andrii Nakryiko wrote: >>> Use new bpf_program__attach_perf_event() in test previously relying on >>> direct ioctl manipulations. >>> >>> Signed-off-by: Andrii Nakryik

Re: [PATCH v4 bpf-next 7/9] selftests/bpf: switch test to new attach_perf_event API

2019-07-01 Thread Andrii Nakryiko
On Mon, Jul 1, 2019 at 10:16 AM Yonghong Song wrote: > > > > On 6/28/19 8:49 PM, Andrii Nakryiko wrote: > > Use new bpf_program__attach_perf_event() in test previously relying on > > direct ioctl manipulations. > > > > Signed-off-by: Andrii Nakryiko > > Reviewed-by: Stanislav Fomichev > > Acked-

Re: [PATCH v4 bpf-next 7/9] selftests/bpf: switch test to new attach_perf_event API

2019-07-01 Thread Yonghong Song
On 6/28/19 8:49 PM, Andrii Nakryiko wrote: > Use new bpf_program__attach_perf_event() in test previously relying on > direct ioctl manipulations. > > Signed-off-by: Andrii Nakryiko > Reviewed-by: Stanislav Fomichev > Acked-by: Song Liu > --- > .../bpf/prog_tests/stacktrace_build_id_nmi.c |

[PATCH v4 bpf-next 7/9] selftests/bpf: switch test to new attach_perf_event API

2019-06-28 Thread Andrii Nakryiko
Use new bpf_program__attach_perf_event() in test previously relying on direct ioctl manipulations. Signed-off-by: Andrii Nakryiko Reviewed-by: Stanislav Fomichev Acked-by: Song Liu --- .../bpf/prog_tests/stacktrace_build_id_nmi.c | 31 +-- 1 file changed, 15 insertions(+), 16