OSDN Git Service

bpf: minor fix to selftest test_stacktrace_build_id()
authorSong Liu <songliubraving@fb.com>
Tue, 1 May 2018 17:20:24 +0000 (10:20 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 1 May 2018 22:18:06 +0000 (00:18 +0200)
commita4e21ff8d9a311b16cfa9e41aed0c627a47149a4
treec2530dfa9ae5aab3fcfb84e959aaa2cbcb87ae7d
parent815425567dea6c54494e85050631d6bdda907c5d
bpf: minor fix to selftest test_stacktrace_build_id()

1. remove useless parameter list to ./urandom_read
2. add missing "\n" to the end of an error message

Fixes: 81f77fd0deeb ("bpf: add selftest for stackmap with BPF_F_STACK_BUILD_ID")
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/test_progs.c