Skip to content

Commit 472f00f

Browse files
author
Yauheni Kaliuta
committed
selftests/bpf: test_stacktrace_build_id: use kprobe/urandom_read
Upstream status: RHEL-only Bugzilla: https://bugzilla.redhat.com/2161467 The test uses kprobe/urandom_read_iter which has not been ported to RHEL9 yet (drivers/char/urandom.c). There is no difference for the test which probe to use to check backtrace, so use existing urandom_read. Signed-off-by: Yauheni Kaliuta <ykaliuta@redhat.com>
1 parent 44061e7 commit 472f00f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/bpf/progs/test_stacktrace_build_id.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ struct {
3939
__type(value, stack_trace_t);
4040
} stack_amap SEC(".maps");
4141

42-
SEC("kprobe/urandom_read_iter")
42+
SEC("kprobe/urandom_read")
4343
int oncpu(struct pt_regs *args)
4444
{
4545
__u32 max_len = sizeof(struct bpf_stack_build_id)

0 commit comments

Comments
 (0)