Skip to content

Commit 9582ebc

Browse files
author
Herton R. Krzesinski
committed
Merge: selftests/bpf: test_stacktrace_build_id: use kprobe/urandom_read
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/1902 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> Approved-by: Jiri Benc <jbenc@redhat.com> Approved-by: Artem Savkov <asavkov@redhat.com> Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
2 parents 9e58236 + 472f00f commit 9582ebc

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)