Re: [PATCH v13 4/4] tools/testing/selftests/bpf: Add self-tests for new helper.

2019-10-09 Thread Carlos Antonio Neira Bustos
On Wed, Oct 09, 2019 at 09:26:32AM -0700, Andrii Nakryiko wrote: > On Wed, Oct 9, 2019 at 8:29 AM Carlos Neira wrote: > > > > Self tests added for new helper > > > > Signed-off-by: Carlos Neira > > --- > > tools/testing/selftests/bpf/bpf_helpers.h | 4 + > > .../bpf/prog_tests/get_ns_curren

Re: [PATCH v13 4/4] tools/testing/selftests/bpf: Add self-tests for new helper.

2019-10-09 Thread Andrii Nakryiko
On Wed, Oct 9, 2019 at 8:29 AM Carlos Neira wrote: > > Self tests added for new helper > > Signed-off-by: Carlos Neira > --- > tools/testing/selftests/bpf/bpf_helpers.h | 4 + > .../bpf/prog_tests/get_ns_current_pid_tgid.c | 85 +++ > .../bpf/progs/get_ns_current_pid_tgid_k

[PATCH v13 4/4] tools/testing/selftests/bpf: Add self-tests for new helper.

2019-10-09 Thread Carlos Neira
Self tests added for new helper Signed-off-by: Carlos Neira --- tools/testing/selftests/bpf/bpf_helpers.h | 4 + .../bpf/prog_tests/get_ns_current_pid_tgid.c | 85 +++ .../bpf/progs/get_ns_current_pid_tgid_kern.c | 53 3 files changed, 142 insertions(+) creat