xref: /openbmc/linux/tools/testing/selftests/bpf/urandom_read_aux.c (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1*00a0fa2dSAndrii Nakryiko // SPDX-License-Identifier: GPL-2.0
2*00a0fa2dSAndrii Nakryiko /* Copyright (c) 2022 Meta Platforms, Inc. and affiliates. */
3*00a0fa2dSAndrii Nakryiko #include "sdt.h"
4*00a0fa2dSAndrii Nakryiko 
urand_read_without_sema(int iter_num,int iter_cnt,int read_sz)5*00a0fa2dSAndrii Nakryiko void urand_read_without_sema(int iter_num, int iter_cnt, int read_sz)
6*00a0fa2dSAndrii Nakryiko {
7*00a0fa2dSAndrii Nakryiko 	/* semaphore-less USDT */
8*00a0fa2dSAndrii Nakryiko 	STAP_PROBE3(urand, read_without_sema, iter_num, iter_cnt, read_sz);
9*00a0fa2dSAndrii Nakryiko }
10