Skip to content
Commit f6827526 authored by Ivan Vecera's avatar Ivan Vecera Committed by Alexei Starovoitov
Browse files

selftests: bpf: modify urandom_read and link it non-statically



After some experiences I found that urandom_read does not need to be
linked statically. When the 'read' syscall call is moved to separate
non-inlined function then bpf_get_stackid() is able to find
the executable in stack trace and extract its build_id from it.

Signed-off-by: default avatarIvan Vecera <ivecera@redhat.com>
Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent ab99e7a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment