On Wed, Oct 30, 2019 at 6:00 PM Daniel Borkmann <daniel@xxxxxxxxxxxxx> wrote: > > Use probe read *_{kernel,user}{,_str}() helpers instead of bpf_probe_read() > or bpf_probe_read_user_str() for program tests where appropriate. > > Signed-off-by: Daniel Borkmann <daniel@xxxxxxxxxxxxx> > --- Thanks! Acked-by: Andrii Nakryiko <andriin@xxxxxx> > tools/testing/selftests/bpf/progs/kfree_skb.c | 4 +- > tools/testing/selftests/bpf/progs/pyperf.h | 67 ++++++++++--------- > .../testing/selftests/bpf/progs/strobemeta.h | 36 +++++----- > .../selftests/bpf/progs/test_tcp_estats.c | 2 +- > 4 files changed, 57 insertions(+), 52 deletions(-) > [...]