xref: /linux/tools/testing/selftests/bpf/prog_tests/atomic_bounds.c (revision fd7d598270724cc787982ea48bbe17ad383a8b7f)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #include <test_progs.h>
4 
5 #include "atomic_bounds.skel.h"
6 
7 void test_atomic_bounds(void)
8 {
9 	struct atomic_bounds *skel;
10 	__u32 duration = 0;
11 
12 	skel = atomic_bounds__open_and_load();
13 	if (CHECK(!skel, "skel_load", "couldn't load program\n"))
14 		return;
15 
16 	atomic_bounds__destroy(skel);
17 }
18