aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/urandom_read_aux.c
blob: 6132edcfea7445c29b6702a7a6b1b1380561c532 (plain) (blame)
1
2
3
4
5
6
7
8
9
// SPDX-License-Identifier: GPL-2.0
/* Copyright (c) 2022 Meta Platforms, Inc. and affiliates. */
#include "sdt.h"

void urand_read_without_sema(int iter_num, int iter_cnt, int read_sz)
{
	/* semaphore-less USDT */
	STAP_PROBE3(urand, read_without_sema, iter_num, iter_cnt, read_sz);
}